diff options
author | Graf Yang <graf.yang@analog.com> | 2009-02-04 03:49:45 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-02-04 03:49:45 -0500 |
commit | 65319628db2c7a630daadfeec4d371aaca788482 (patch) | |
tree | b783043647e0c3f097ad0d1cbafebc16b2ef83c5 /arch/blackfin/mach-bf537/boards/tcm_bf537.c | |
parent | 583947c6bc397854a3a57d45539654c9d8223966 (diff) |
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-bf537/boards/tcm_bf537.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/tcm_bf537.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 2e60bbad73ee..3f4f203a06ec 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
@@ -481,8 +481,13 @@ static struct platform_device bfin_sport1_uart_device = { | |||
481 | #endif | 481 | #endif |
482 | 482 | ||
483 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 483 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
484 | static struct platform_device bfin_mii_bus = { | ||
485 | .name = "bfin_mii_bus", | ||
486 | }; | ||
487 | |||
484 | static struct platform_device bfin_mac_device = { | 488 | static struct platform_device bfin_mac_device = { |
485 | .name = "bfin_mac", | 489 | .name = "bfin_mac", |
490 | .dev.platform_data = &bfin_mii_bus, | ||
486 | }; | 491 | }; |
487 | #endif | 492 | #endif |
488 | 493 | ||
@@ -593,6 +598,7 @@ static struct platform_device *cm_bf537_devices[] __initdata = { | |||
593 | #endif | 598 | #endif |
594 | 599 | ||
595 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 600 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
601 | &bfin_mii_bus, | ||
596 | &bfin_mac_device, | 602 | &bfin_mac_device, |
597 | #endif | 603 | #endif |
598 | 604 | ||