summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/dss11/init.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/boards/dss11/init.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/boards/dss11/init.c')
-rw-r--r--arch/arm/boards/dss11/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/dss11/init.c b/arch/arm/boards/dss11/init.c
index 77ae46fcce..b33cd12203 100644
--- a/arch/arm/boards/dss11/init.c
+++ b/arch/arm/boards/dss11/init.c
@@ -73,7 +73,7 @@ static void dss11_add_device_nand(void)
at91_add_device_nand(&nand_pdata);
}
-static struct at91_ether_platform_data macb_pdata = {
+static struct macb_platform_data macb_pdata = {
.phy_addr = 0,
.flags = AT91SAM_ETX2_ETX3_ALTERNATIVE,
};