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 /drivers/net/mcffec.c | |
parent | d1527b55f5ab162f2d17600ffc2744c2ea39d356 (diff) | |
download | u-boot-10cbe3b6a4b2289906fc94bb26810191607ee748.tar.gz |
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 'drivers/net/mcffec.c')
-rw-r--r-- | drivers/net/mcffec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index a08ff278bf..ed7459c647 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -95,7 +95,6 @@ struct fec_info_s fec_info[] = { #endif }; -int fec_send(struct eth_device *dev, volatile void *packet, int length); int fec_recv(struct eth_device *dev); int fec_init(struct eth_device *dev, bd_t * bd); void fec_halt(struct eth_device *dev); @@ -134,7 +133,7 @@ void setFecDuplexSpeed(volatile fec_t * fecp, bd_t * bd, int dup_spd) } } -int fec_send(struct eth_device *dev, volatile void *packet, int length) +static int fec_send(struct eth_device *dev, void *packet, int length) { struct fec_info_s *info = dev->priv; volatile fec_t *fecp = (fec_t *) (info->iobase); |