mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01: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:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user