summaryrefslogtreecommitdiffstats
path: root/drivers/net/at91_ether.c
diff options
context:
space:
mode:
authorJosh Cartwright <joshc@eso.teric.us>2013-03-15 18:26:00 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-03 17:21:51 +0200
commit28acd8331de84b4ecb8bc91f56292697bb977b99 (patch)
treec2ae3e1f5b02fcfb086ff63af8cc1974cd561f35 /drivers/net/at91_ether.c
parent960a3d216a608567d4adccd08006090e694d273c (diff)
downloadbarebox-28acd8331de84b4ecb8bc91f56292697bb977b99.tar.gz
barebox-28acd8331de84b4ecb8bc91f56292697bb977b99.tar.xz
macb: rename platform data
The macb/gem core is used by the Zynq SoC. In preparation of sharing the macb driver between at91 and Zynq, rename the platform data to 'struct macb_platform_data', and move the definition to a common location. Signed-off-by: Josh Cartwright <joshc@eso.teric.us> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/at91_ether.c')
-rw-r--r--drivers/net/at91_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/at91_ether.c b/drivers/net/at91_ether.c
index dad78155fa..25924cf7e2 100644
--- a/drivers/net/at91_ether.c
+++ b/drivers/net/at91_ether.c
@@ -298,7 +298,7 @@ static int at91_ether_probe(struct device_d *dev)
struct mii_bus *miibus;
unsigned long ether_hz;
struct clk *pclk;
- struct at91_ether_platform_data *pdata;
+ struct macb_platform_data *pdata;
if (!dev->platform_data) {
printf("at91_ether: no platform_data\n");