diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-22 18:36:19 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 14:19:21 -0500 |
commit | 10cbe3b6a4b2289906fc94bb26810191607ee748 (patch) | |
tree | aeb321b6e60c0edeb025a73955651dc064e962ec /board/Marvell | |
parent | d1527b55f5ab162f2d17600ffc2744c2ea39d356 (diff) | |
download | u-boot-10cbe3b6a4b2289906fc94bb26810191607ee748.tar.gz u-boot-10cbe3b6a4b2289906fc94bb26810191607ee748.tar.xz u-boot-10cbe3b6a4b2289906fc94bb26810191607ee748.zip |
net: Fix remaining API interface breakage
These are all the files which use the API incorrectly but did not get
built using MAKEALL -a powerpc|arm. I have no compiler for them, but
the remaining issues should be far less than without this patch.
Any outstanding issues are left to the maintainers of boards that use
these drivers.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'board/Marvell')
-rw-r--r-- | board/Marvell/db64360/mv_eth.c | 3 | ||||
-rw-r--r-- | board/Marvell/db64360/mv_eth.h | 4 | ||||
-rw-r--r-- | board/Marvell/db64460/mv_eth.c | 3 | ||||
-rw-r--r-- | board/Marvell/db64460/mv_eth.h | 4 |
4 files changed, 4 insertions, 10 deletions
diff --git a/board/Marvell/db64360/mv_eth.c b/board/Marvell/db64360/mv_eth.c index 1841355567..1874cd1e73 100644 --- a/board/Marvell/db64360/mv_eth.c +++ b/board/Marvell/db64360/mv_eth.c @@ -190,8 +190,7 @@ int db64360_eth_poll (struct eth_device *dev) return mv64360_eth_receive (dev); } -int db64360_eth_transmit (struct eth_device *dev, volatile void *packet, - int length) +int db64360_eth_transmit(struct eth_device *dev, void *packet, int length) { mv64360_eth_xmit (dev, packet, length); return 0; diff --git a/board/Marvell/db64360/mv_eth.h b/board/Marvell/db64360/mv_eth.h index 142910b598..bd8e05dafd 100644 --- a/board/Marvell/db64360/mv_eth.h +++ b/board/Marvell/db64360/mv_eth.h @@ -167,9 +167,7 @@ struct mv64360_eth_priv { int mv64360_eth_init (struct eth_device *dev); int mv64360_eth_stop (struct eth_device *dev); -int mv64360_eth_start_xmit (struct eth_device*, volatile void* packet, int length); -/* return db64360_eth0_poll(); */ - +int mv64360_eth_start_xmit(struct eth_device *dev, void *packet, int length); int mv64360_eth_open (struct eth_device *dev); diff --git a/board/Marvell/db64460/mv_eth.c b/board/Marvell/db64460/mv_eth.c index da48fa897f..a24a7e8072 100644 --- a/board/Marvell/db64460/mv_eth.c +++ b/board/Marvell/db64460/mv_eth.c @@ -190,8 +190,7 @@ int db64460_eth_poll (struct eth_device *dev) return mv64460_eth_receive (dev); } -int db64460_eth_transmit (struct eth_device *dev, volatile void *packet, - int length) +int db64460_eth_transmit(struct eth_device *dev, void *packet, int length) { mv64460_eth_xmit (dev, packet, length); return 0; diff --git a/board/Marvell/db64460/mv_eth.h b/board/Marvell/db64460/mv_eth.h index cbe751a4ce..af4e818fe8 100644 --- a/board/Marvell/db64460/mv_eth.h +++ b/board/Marvell/db64460/mv_eth.h @@ -166,9 +166,7 @@ struct mv64460_eth_priv { int mv64460_eth_init (struct eth_device *dev); int mv64460_eth_stop (struct eth_device *dev); -int mv64460_eth_start_xmit (struct eth_device*, volatile void* packet, int length); -/* return db64460_eth0_poll(); */ - +int mv64460_eth_start_xmit(struct eth_device *dev, void *packet, int length); int mv64460_eth_open (struct eth_device *dev); |