Skip to contentSkip to conversation

net: Remove redefinitions of net.h functions

PATCH New Joe Hershberger 2 participants 2 messages May 22, 2012 – May 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/Marvell/db64360/mv_eth.c |    2 --
 board/Marvell/db64460/mv_eth.c |    2 --
 board/esd/cpci750/mv_eth.c     |    2 --
 board/prodrive/p3mx/mv_eth.c   |    2 --
 4 files changed, 0 insertions(+), 8 deletions(-)
board/Marvell/db64360/mv_eth.c +0 -2
index e89ea43..1841355 100644
@@ -95,8 +95,6 @@ int mv64360_eth_xmit (struct eth_device *, volatile void *packet, int length);
 #ifndef  UPDATE_STATS_BY_SOFTWARE
 static void mv64360_eth_print_stat (struct eth_device *dev);
 #endif
-/* Processes a received packet */
-extern void NetReceive (volatile uchar *, int);
 
 extern unsigned int INTERNAL_REG_BASE_ADDR;
 
board/Marvell/db64460/mv_eth.c +0 -2
index a763d79..da48fa8 100644
@@ -95,8 +95,6 @@ int mv64460_eth_xmit (struct eth_device *, volatile void *packet, int length);
 #ifndef  UPDATE_STATS_BY_SOFTWARE
 static void mv64460_eth_print_stat (struct eth_device *dev);
 #endif
-/* Processes a received packet */
-extern void NetReceive (volatile uchar *, int);
 
 extern unsigned int INTERNAL_REG_BASE_ADDR;
 
board/esd/cpci750/mv_eth.c +0 -2
index a3bde81..9cccbdb 100644
@@ -95,8 +95,6 @@ int mv64360_eth_xmit (struct eth_device *, volatile void *packet, int length);
 #ifndef  UPDATE_STATS_BY_SOFTWARE
 static void mv64360_eth_print_stat (struct eth_device *dev);
 #endif
-/* Processes a received packet */
-extern void NetReceive (volatile uchar *, int);
 
 extern unsigned int INTERNAL_REG_BASE_ADDR;
 
board/prodrive/p3mx/mv_eth.c +0 -2
index 9e3213b..976cb0b 100644
@@ -109,8 +109,6 @@ int phy_setup_aneg (char *devname, unsigned char addr);
 #ifndef	 UPDATE_STATS_BY_SOFTWARE
 static void mv64460_eth_print_stat (struct eth_device *dev);
 #endif
-/* Processes a received packet */
-extern void NetReceive (volatile uchar *, int);
 
 extern unsigned int INTERNAL_REG_BASE_ADDR;
 
Signature · 1 line
1.6.0.2
#1 lore raw

PATCH 1/1 net: Remove redefinitions of net.h functions

Quoted 3 lines · On Tuesday 22 May 2012 16:28:57 Joe Hershberger wrote:

Some copy/pasted drivers redefine functions
defined in include/net.h. Remove these so that
the definitions can be changed without error.

-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120522/c59749cb/attachment.pgp>