diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:42 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:42 +0200 |
commit | 381840e8303f1a79d381f217c0897d390867c339 (patch) | |
tree | 2e4851e31e26fe56431077f1cfc258666714df87 /drivers/net/at91_ether.c | |
parent | 1db57b0bfc6874c272458d32d264b7bdf7c6c759 (diff) | |
download | barebox-381840e8303f1a79d381f217c0897d390867c339.tar.gz barebox-381840e8303f1a79d381f217c0897d390867c339.tar.xz |
svn_rev_310
use type_data instead of pric for edev
Diffstat (limited to 'drivers/net/at91_ether.c')
-rw-r--r-- | drivers/net/at91_ether.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/at91_ether.c b/drivers/net/at91_ether.c index cf29ff4cfe..591ae4acf1 100644 --- a/drivers/net/at91_ether.c +++ b/drivers/net/at91_ether.c @@ -150,7 +150,7 @@ UCHAR at91rm9200_EmacWritePhy (AT91PS_EMAC p_mac, return TRUE; } -static int at91rm9200_eth_open (struct eth_device *ndev) +static int at91rm9200_eth_open (struct eth_device *edev) { int ret; @@ -172,7 +172,7 @@ static int at91rm9200_eth_open (struct eth_device *ndev) return 0; } -static int at91rm9200_eth_send (struct eth_device *ndev, volatile void *packet, int length) +static int at91rm9200_eth_send (struct eth_device *edev, volatile void *packet, int length) { while (!(p_mac->EMAC_TSR & AT91C_EMAC_BNQ)); p_mac->EMAC_TAR = (long) packet; @@ -182,7 +182,7 @@ static int at91rm9200_eth_send (struct eth_device *ndev, volatile void *packet, return 0; } -static int at91rm9200_eth_rx (struct eth_device *ndev) +static int at91rm9200_eth_rx (struct eth_device *edev) { int size; @@ -203,7 +203,7 @@ static int at91rm9200_eth_rx (struct eth_device *ndev) return size; } -static void at91rm9200_eth_halt (struct eth_device *ndev) +static void at91rm9200_eth_halt (struct eth_device *edev) { }; |