diff options
author | Josh Cartwright <joshc@eso.teric.us> | 2013-03-15 18:26:00 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-04-03 17:21:51 +0200 |
commit | 28acd8331de84b4ecb8bc91f56292697bb977b99 (patch) | |
tree | c2ae3e1f5b02fcfb086ff63af8cc1974cd561f35 /arch/arm/boards/at91sam9260ek | |
parent | 960a3d216a608567d4adccd08006090e694d273c (diff) | |
download | barebox-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/at91sam9260ek')
-rw-r--r-- | arch/arm/boards/at91sam9260ek/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c index dc2976a0c4..4e4a69df12 100644 --- a/arch/arm/boards/at91sam9260ek/init.c +++ b/arch/arm/boards/at91sam9260ek/init.c @@ -114,7 +114,7 @@ static void ek_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_interface = PHY_INTERFACE_MODE_RMII, .phy_addr = 0, }; |