diff options
Diffstat (limited to 'arch/arm/mach-ep93xx/edb9312.c')
| -rw-r--r-- | arch/arm/mach-ep93xx/edb9312.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/edb9312.c b/arch/arm/mach-ep93xx/edb9312.c index 87267a574f5e..6853e302bc3a 100644 --- a/arch/arm/mach-ep93xx/edb9312.c +++ b/arch/arm/mach-ep93xx/edb9312.c | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #include <linux/ioport.h> | 19 | #include <linux/ioport.h> |
| 20 | #include <linux/mtd/physmap.h> | 20 | #include <linux/mtd/physmap.h> |
| 21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
| 22 | #include <asm/io.h> | 22 | #include <linux/io.h> |
| 23 | #include <mach/hardware.h> | 23 | #include <mach/hardware.h> |
| 24 | #include <asm/mach-types.h> | 24 | #include <asm/mach-types.h> |
| 25 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
| @@ -44,10 +44,16 @@ static struct platform_device edb9312_flash = { | |||
| 44 | .resource = &edb9312_flash_resource, | 44 | .resource = &edb9312_flash_resource, |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | static struct ep93xx_eth_data edb9312_eth_data = { | ||
| 48 | .phy_id = 1, | ||
| 49 | }; | ||
| 50 | |||
| 47 | static void __init edb9312_init_machine(void) | 51 | static void __init edb9312_init_machine(void) |
| 48 | { | 52 | { |
| 49 | ep93xx_init_devices(); | 53 | ep93xx_init_devices(); |
| 50 | platform_device_register(&edb9312_flash); | 54 | platform_device_register(&edb9312_flash); |
| 55 | |||
| 56 | ep93xx_register_eth(&edb9312_eth_data, 1); | ||
| 51 | } | 57 | } |
| 52 | 58 | ||
| 53 | MACHINE_START(EDB9312, "Cirrus Logic EDB9312 Evaluation Board") | 59 | MACHINE_START(EDB9312, "Cirrus Logic EDB9312 Evaluation Board") |
