diff options
author | Graf Yang <graf.yang@analog.com> | 2009-02-04 11:49:45 +0300 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-02-04 11:49:45 +0300 |
commit | 65319628db2c7a630daadfeec4d371aaca788482 (patch) | |
tree | b783043647e0c3f097ad0d1cbafebc16b2ef83c5 /arch/blackfin/mach-bf527/boards/ezbrd.c | |
parent | 583947c6bc397854a3a57d45539654c9d8223966 (diff) | |
download | linux-65319628db2c7a630daadfeec4d371aaca788482.tar.xz |
Blackfin arch: add platform device bfin_mii-bus and KSZ8893M switch driver platform resources to board files
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ezbrd.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index d0f29870f1a4..83606fcdde27 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c @@ -208,8 +208,13 @@ static struct platform_device rtc_device = { #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) +static struct platform_device bfin_mii_bus = { + .name = "bfin_mii_bus", +}; + static struct platform_device bfin_mac_device = { .name = "bfin_mac", + .dev.platform_data = &bfin_mii_bus, }; #endif @@ -718,6 +723,7 @@ static struct platform_device *stamp_devices[] __initdata = { #endif #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) + &bfin_mii_bus, &bfin_mac_device, #endif |