summaryrefslogtreecommitdiff
path: root/board/evb64260
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 /board/evb64260
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 'board/evb64260')
-rw-r--r--board/evb64260/eth.c3
-rw-r--r--board/evb64260/eth.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/board/evb64260/eth.c b/board/evb64260/eth.c
index eb87edc..a3a3276 100644
--- a/board/evb64260/eth.c
+++ b/board/evb64260/eth.c
@@ -246,8 +246,7 @@ gt6426x_eth_poll(void *v)
/**************************************************************************
TRANSMIT - Transmit a frame
***************************************************************************/
-int
-gt6426x_eth_transmit(void *v, volatile char *p, unsigned int s)
+int gt6426x_eth_transmit(void *v, char *p, unsigned int s)
{
struct eth_device *wp = (struct eth_device *)v;
struct eth_dev_s *dev = (struct eth_dev_s *)wp->priv;
diff --git a/board/evb64260/eth.h b/board/evb64260/eth.h
index beb6db1..76bd725 100644
--- a/board/evb64260/eth.h
+++ b/board/evb64260/eth.h
@@ -68,7 +68,7 @@ extern char *eth0_rx_buffer[NR];
extern char *eth_data;
extern int gt6426x_eth_poll(void *v);
-extern int gt6426x_eth_transmit(void *v, volatile char *p, unsigned int s);
+extern int gt6426x_eth_transmit(void *v, char *p, unsigned int s);
extern void gt6426x_eth_disable(void *v);
extern int gt6426x_eth_probe(void *v, bd_t *bis);