aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-06-07 09:57:12 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-08 02:38:24 -0400
commite5c9b4cd665106d9b5397114ea81a53059410b6a (patch)
tree8a452830a7c8bc3cd21ffaf2c08c5d735f967f76 /arch/arm/mach-shmobile
parentc18a79abe31f555ec3b363b5b8c1d003230053b6 (diff)
sh_eth: get R8A7740 support out of #ifdef
Get the R8A7740 code/data in the driver out of #ifdef by adding "r8a7740-gether" to the platform driver's ID table. Change the GEther platform device's name in the ARM platform code accordingly. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-armadillo800eva.c2
-rw-r--r--arch/arm/mach-shmobile/clock-r8a7740.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index b85b2882dbd0..2b04c8011e13 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -377,7 +377,7 @@ static struct resource sh_eth_resources[] = {
377}; 377};
378 378
379static struct platform_device sh_eth_device = { 379static struct platform_device sh_eth_device = {
380 .name = "sh-eth", 380 .name = "r8a7740-gether",
381 .id = -1, 381 .id = -1,
382 .dev = { 382 .dev = {
383 .platform_data = &sh_eth_platdata, 383 .platform_data = &sh_eth_platdata,
diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c
index c0d39aa6de50..ae93f94d15bd 100644
--- a/arch/arm/mach-shmobile/clock-r8a7740.c
+++ b/arch/arm/mach-shmobile/clock-r8a7740.c
@@ -591,7 +591,7 @@ static struct clk_lookup lookups[] = {
591 CLKDEV_DEV_ID("e6860000.sdhi", &mstp_clks[MSTP313]), 591 CLKDEV_DEV_ID("e6860000.sdhi", &mstp_clks[MSTP313]),
592 CLKDEV_DEV_ID("sh_mmcif", &mstp_clks[MSTP312]), 592 CLKDEV_DEV_ID("sh_mmcif", &mstp_clks[MSTP312]),
593 CLKDEV_DEV_ID("e6bd0000.mmcif", &mstp_clks[MSTP312]), 593 CLKDEV_DEV_ID("e6bd0000.mmcif", &mstp_clks[MSTP312]),
594 CLKDEV_DEV_ID("sh-eth", &mstp_clks[MSTP309]), 594 CLKDEV_DEV_ID("r8a7740-gether", &mstp_clks[MSTP309]),
595 595
596 CLKDEV_DEV_ID("sh_mobile_sdhi.2", &mstp_clks[MSTP415]), 596 CLKDEV_DEV_ID("sh_mobile_sdhi.2", &mstp_clks[MSTP415]),
597 CLKDEV_DEV_ID("e6870000.sdhi", &mstp_clks[MSTP415]), 597 CLKDEV_DEV_ID("e6870000.sdhi", &mstp_clks[MSTP415]),