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>
This commit is contained in:

committed by
Olof Johansson

parent
56e49cd668
commit
1b8c813695
@@ -41,7 +41,7 @@ config CS89x0_PLATFORM
|
||||
|
||||
config EP93XX_ETH
|
||||
tristate "EP93xx Ethernet support"
|
||||
depends on ARM && ARCH_EP93XX
|
||||
depends on (ARM && ARCH_EP93XX) || COMPILE_TEST
|
||||
select MII
|
||||
help
|
||||
This is a driver for the ethernet hardware included in EP93xx CPUs.
|
||||
|
@@ -25,7 +25,7 @@
|
||||
#include <linux/io.h>
|
||||
#include <linux/slab.h>
|
||||
|
||||
#include <mach/hardware.h>
|
||||
#include <linux/platform_data/eth-ep93xx.h>
|
||||
|
||||
#define DRV_MODULE_NAME "ep93xx-eth"
|
||||
#define DRV_MODULE_VERSION "0.1"
|
||||
|
Reference in New Issue
Block a user