summaryrefslogtreecommitdiff
path: root/drivers/net/plb2800_eth.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-22 18:36:19 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 14:19:21 -0500
commit10cbe3b6a4b2289906fc94bb26810191607ee748 (patch)
treeaeb321b6e60c0edeb025a73955651dc064e962ec /drivers/net/plb2800_eth.c
parentd1527b55f5ab162f2d17600ffc2744c2ea39d356 (diff)
downloadu-boot-imx-10cbe3b6a4b2289906fc94bb26810191607ee748.zip
u-boot-imx-10cbe3b6a4b2289906fc94bb26810191607ee748.tar.gz
u-boot-imx-10cbe3b6a4b2289906fc94bb26810191607ee748.tar.bz2
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/plb2800_eth.c')
-rw-r--r--drivers/net/plb2800_eth.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/plb2800_eth.c b/drivers/net/plb2800_eth.c
index d799c73..93782c2 100644
--- a/drivers/net/plb2800_eth.c
+++ b/drivers/net/plb2800_eth.c
@@ -82,8 +82,7 @@ typedef volatile struct {
static int plb2800_eth_init(struct eth_device *dev, bd_t * bis);
-static int plb2800_eth_send(struct eth_device *dev, volatile void *packet,
- int length);
+static int plb2800_eth_send(struct eth_device *dev, void *packet, int length);
static int plb2800_eth_recv(struct eth_device *dev);
static void plb2800_eth_halt(struct eth_device *dev);
@@ -162,8 +161,7 @@ static int plb2800_eth_init(struct eth_device *dev, bd_t * bis)
}
-static int plb2800_eth_send(struct eth_device *dev, volatile void *packet,
- int length)
+static int plb2800_eth_send(struct eth_device *dev, void *packet, int length)
{
int i;
int res = -1;