mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-02 09:30:43 +09:00
net: Remove redefinitions of net.h functions
Some copy/pasted drivers redefine functions defined in include/net.h. Remove these so that the definitions can be changed without error. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
7ae84d5673
commit
bb90157492
@ -95,8 +95,6 @@ int mv64360_eth_xmit (struct eth_device *, volatile void *packet, int length);
|
|||||||
#ifndef UPDATE_STATS_BY_SOFTWARE
|
#ifndef UPDATE_STATS_BY_SOFTWARE
|
||||||
static void mv64360_eth_print_stat (struct eth_device *dev);
|
static void mv64360_eth_print_stat (struct eth_device *dev);
|
||||||
#endif
|
#endif
|
||||||
/* Processes a received packet */
|
|
||||||
extern void NetReceive (volatile uchar *, int);
|
|
||||||
|
|
||||||
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
||||||
|
|
||||||
|
@ -95,8 +95,6 @@ int mv64460_eth_xmit (struct eth_device *, volatile void *packet, int length);
|
|||||||
#ifndef UPDATE_STATS_BY_SOFTWARE
|
#ifndef UPDATE_STATS_BY_SOFTWARE
|
||||||
static void mv64460_eth_print_stat (struct eth_device *dev);
|
static void mv64460_eth_print_stat (struct eth_device *dev);
|
||||||
#endif
|
#endif
|
||||||
/* Processes a received packet */
|
|
||||||
extern void NetReceive (volatile uchar *, int);
|
|
||||||
|
|
||||||
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
||||||
|
|
||||||
|
@ -95,8 +95,6 @@ int mv64360_eth_xmit (struct eth_device *, volatile void *packet, int length);
|
|||||||
#ifndef UPDATE_STATS_BY_SOFTWARE
|
#ifndef UPDATE_STATS_BY_SOFTWARE
|
||||||
static void mv64360_eth_print_stat (struct eth_device *dev);
|
static void mv64360_eth_print_stat (struct eth_device *dev);
|
||||||
#endif
|
#endif
|
||||||
/* Processes a received packet */
|
|
||||||
extern void NetReceive (volatile uchar *, int);
|
|
||||||
|
|
||||||
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
||||||
|
|
||||||
|
@ -109,8 +109,6 @@ int phy_setup_aneg (char *devname, unsigned char addr);
|
|||||||
#ifndef UPDATE_STATS_BY_SOFTWARE
|
#ifndef UPDATE_STATS_BY_SOFTWARE
|
||||||
static void mv64460_eth_print_stat (struct eth_device *dev);
|
static void mv64460_eth_print_stat (struct eth_device *dev);
|
||||||
#endif
|
#endif
|
||||||
/* Processes a received packet */
|
|
||||||
extern void NetReceive (volatile uchar *, int);
|
|
||||||
|
|
||||||
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
extern unsigned int INTERNAL_REG_BASE_ADDR;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user