diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-04-15 22:17:09 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2019-04-29 08:08:15 +0200 |
commit | 1b8c813695dcff87b58ad1916bff2299dcf01c7f (patch) | |
tree | 15f6fd7b3df004abb38e0e14b72064f1c6cbfa55 /arch/arm/mach-ep93xx | |
parent | Merge tag 'davinci-for-v5.2/soc' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-1b8c813695dcff87b58ad1916bff2299dcf01c7f.tar.xz linux-1b8c813695dcff87b58ad1916bff2299dcf01c7f.zip |
ARM: ep93xx: move network platform data to separate header
The header file is the only thing preventing us from building the
driver in a cross-platform configuration, so move the structure
we are interested in to the global platform_data location
and enable compile testing.
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/platform.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/platform.h b/arch/arm/mach-ep93xx/include/mach/platform.h index 6c41c794bed5..43446f33c2be 100644 --- a/arch/arm/mach-ep93xx/include/mach/platform.h +++ b/arch/arm/mach-ep93xx/include/mach/platform.h @@ -5,6 +5,7 @@ #ifndef __ASSEMBLY__ +#include <linux/platform_data/eth-ep93xx.h> #include <linux/reboot.h> struct device; @@ -15,12 +16,6 @@ struct ep93xxfb_mach_info; struct ep93xx_keypad_platform_data; struct ep93xx_spi_info; -struct ep93xx_eth_data -{ - unsigned char dev_addr[6]; - unsigned char phy_id; -}; - void ep93xx_map_io(void); void ep93xx_init_irq(void); |