summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9260_devices.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 /arch/arm/mach-at91/at91sam9260_devices.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 'arch/arm/mach-at91/at91sam9260_devices.c')
-rw-r--r--arch/arm/mach-at91/at91sam9260_devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c
index 1c375eef9e..cff0d901ef 100644
--- a/arch/arm/mach-at91/at91sam9260_devices.c
+++ b/arch/arm/mach-at91/at91sam9260_devices.c
@@ -81,7 +81,7 @@ void __init at91_add_device_udc(struct at91_udc_data *data) {}
#endif
#if defined(CONFIG_DRIVER_NET_MACB)
-void at91_add_device_eth(int id, struct at91_ether_platform_data *data)
+void at91_add_device_eth(int id, struct macb_platform_data *data)
{
if (!data)
return;
@@ -118,7 +118,7 @@ void at91_add_device_eth(int id, struct at91_ether_platform_data *data)
IORESOURCE_MEM, data);
}
#else
-void at91_add_device_eth(int id, struct at91_ether_platform_data *data) {}
+void at91_add_device_eth(int id, struct macb_platform_data *data) {}
#endif
#if defined(CONFIG_NAND_ATMEL)