diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-04-19 06:03:50 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-04-19 06:03:50 -0400 |
commit | bec9381157159e654be16f69e4e8882ab4e609bd (patch) | |
tree | 650673a65df8ea71475444a513824766ff8ab883 | |
parent | 6c0c27fdb10e15780af800d51711305f65665f25 (diff) |
ARM: OMAP2/3: hwmod data: update old names
Some of the 2xxx and 3xxx hwmod data files use the old naming style
for hwmods, ending in a "_hwmod". These names are used by the OMAP
integration code to map hwmods to platform_devices, so they need to be
consistent, or the platform_devices won't be created. Remove the
_hwmod suffix to conform with the rest of the OMAP SoC data.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2420_data.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2430_data.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 10 |
3 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c b/arch/arm/mach-omap2/omap_hwmod_2420_data.c index a6bde34e443a..3e8938005da8 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c | |||
@@ -1375,7 +1375,7 @@ static struct omap2_mcspi_dev_attr omap_mcspi1_dev_attr = { | |||
1375 | }; | 1375 | }; |
1376 | 1376 | ||
1377 | static struct omap_hwmod omap2420_mcspi1_hwmod = { | 1377 | static struct omap_hwmod omap2420_mcspi1_hwmod = { |
1378 | .name = "mcspi1_hwmod", | 1378 | .name = "mcspi1", |
1379 | .mpu_irqs = omap2_mcspi1_mpu_irqs, | 1379 | .mpu_irqs = omap2_mcspi1_mpu_irqs, |
1380 | .sdma_reqs = omap2_mcspi1_sdma_reqs, | 1380 | .sdma_reqs = omap2_mcspi1_sdma_reqs, |
1381 | .main_clk = "mcspi1_fck", | 1381 | .main_clk = "mcspi1_fck", |
@@ -1404,7 +1404,7 @@ static struct omap2_mcspi_dev_attr omap_mcspi2_dev_attr = { | |||
1404 | }; | 1404 | }; |
1405 | 1405 | ||
1406 | static struct omap_hwmod omap2420_mcspi2_hwmod = { | 1406 | static struct omap_hwmod omap2420_mcspi2_hwmod = { |
1407 | .name = "mcspi2_hwmod", | 1407 | .name = "mcspi2", |
1408 | .mpu_irqs = omap2_mcspi2_mpu_irqs, | 1408 | .mpu_irqs = omap2_mcspi2_mpu_irqs, |
1409 | .sdma_reqs = omap2_mcspi2_sdma_reqs, | 1409 | .sdma_reqs = omap2_mcspi2_sdma_reqs, |
1410 | .main_clk = "mcspi2_fck", | 1410 | .main_clk = "mcspi2_fck", |
diff --git a/arch/arm/mach-omap2/omap_hwmod_2430_data.c b/arch/arm/mach-omap2/omap_hwmod_2430_data.c index 04a3885f4475..6a156a931097 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2430_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2430_data.c | |||
@@ -1480,7 +1480,7 @@ static struct omap2_mcspi_dev_attr omap_mcspi1_dev_attr = { | |||
1480 | }; | 1480 | }; |
1481 | 1481 | ||
1482 | static struct omap_hwmod omap2430_mcspi1_hwmod = { | 1482 | static struct omap_hwmod omap2430_mcspi1_hwmod = { |
1483 | .name = "mcspi1_hwmod", | 1483 | .name = "mcspi1", |
1484 | .mpu_irqs = omap2_mcspi1_mpu_irqs, | 1484 | .mpu_irqs = omap2_mcspi1_mpu_irqs, |
1485 | .sdma_reqs = omap2_mcspi1_sdma_reqs, | 1485 | .sdma_reqs = omap2_mcspi1_sdma_reqs, |
1486 | .main_clk = "mcspi1_fck", | 1486 | .main_clk = "mcspi1_fck", |
@@ -1509,7 +1509,7 @@ static struct omap2_mcspi_dev_attr omap_mcspi2_dev_attr = { | |||
1509 | }; | 1509 | }; |
1510 | 1510 | ||
1511 | static struct omap_hwmod omap2430_mcspi2_hwmod = { | 1511 | static struct omap_hwmod omap2430_mcspi2_hwmod = { |
1512 | .name = "mcspi2_hwmod", | 1512 | .name = "mcspi2", |
1513 | .mpu_irqs = omap2_mcspi2_mpu_irqs, | 1513 | .mpu_irqs = omap2_mcspi2_mpu_irqs, |
1514 | .sdma_reqs = omap2_mcspi2_sdma_reqs, | 1514 | .sdma_reqs = omap2_mcspi2_sdma_reqs, |
1515 | .main_clk = "mcspi2_fck", | 1515 | .main_clk = "mcspi2_fck", |
@@ -1551,7 +1551,7 @@ static struct omap2_mcspi_dev_attr omap_mcspi3_dev_attr = { | |||
1551 | }; | 1551 | }; |
1552 | 1552 | ||
1553 | static struct omap_hwmod omap2430_mcspi3_hwmod = { | 1553 | static struct omap_hwmod omap2430_mcspi3_hwmod = { |
1554 | .name = "mcspi3_hwmod", | 1554 | .name = "mcspi3", |
1555 | .mpu_irqs = omap2430_mcspi3_mpu_irqs, | 1555 | .mpu_irqs = omap2430_mcspi3_mpu_irqs, |
1556 | .sdma_reqs = omap2430_mcspi3_sdma_reqs, | 1556 | .sdma_reqs = omap2430_mcspi3_sdma_reqs, |
1557 | .main_clk = "mcspi3_fck", | 1557 | .main_clk = "mcspi3_fck", |
diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index db86ce90c69f..ab229787639b 100644 --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | |||
@@ -1098,7 +1098,7 @@ static struct omap_hwmod omap3xxx_timer11_hwmod = { | |||
1098 | .class = &omap3xxx_timer_hwmod_class, | 1098 | .class = &omap3xxx_timer_hwmod_class, |
1099 | }; | 1099 | }; |
1100 | 1100 | ||
1101 | /* timer12*/ | 1101 | /* timer12 */ |
1102 | static struct omap_hwmod omap3xxx_timer12_hwmod; | 1102 | static struct omap_hwmod omap3xxx_timer12_hwmod; |
1103 | static struct omap_hwmod_irq_info omap3xxx_timer12_mpu_irqs[] = { | 1103 | static struct omap_hwmod_irq_info omap3xxx_timer12_mpu_irqs[] = { |
1104 | { .irq = 95, }, | 1104 | { .irq = 95, }, |
@@ -2683,7 +2683,7 @@ static struct omap_hwmod_ocp_if *omap3_sr1_slaves[] = { | |||
2683 | }; | 2683 | }; |
2684 | 2684 | ||
2685 | static struct omap_hwmod omap34xx_sr1_hwmod = { | 2685 | static struct omap_hwmod omap34xx_sr1_hwmod = { |
2686 | .name = "sr1_hwmod", | 2686 | .name = "sr1", |
2687 | .class = &omap34xx_smartreflex_hwmod_class, | 2687 | .class = &omap34xx_smartreflex_hwmod_class, |
2688 | .main_clk = "sr1_fck", | 2688 | .main_clk = "sr1_fck", |
2689 | .prcm = { | 2689 | .prcm = { |
@@ -2703,7 +2703,7 @@ static struct omap_hwmod omap34xx_sr1_hwmod = { | |||
2703 | }; | 2703 | }; |
2704 | 2704 | ||
2705 | static struct omap_hwmod omap36xx_sr1_hwmod = { | 2705 | static struct omap_hwmod omap36xx_sr1_hwmod = { |
2706 | .name = "sr1_hwmod", | 2706 | .name = "sr1", |
2707 | .class = &omap36xx_smartreflex_hwmod_class, | 2707 | .class = &omap36xx_smartreflex_hwmod_class, |
2708 | .main_clk = "sr1_fck", | 2708 | .main_clk = "sr1_fck", |
2709 | .prcm = { | 2709 | .prcm = { |
@@ -2731,7 +2731,7 @@ static struct omap_hwmod_ocp_if *omap3_sr2_slaves[] = { | |||
2731 | }; | 2731 | }; |
2732 | 2732 | ||
2733 | static struct omap_hwmod omap34xx_sr2_hwmod = { | 2733 | static struct omap_hwmod omap34xx_sr2_hwmod = { |
2734 | .name = "sr2_hwmod", | 2734 | .name = "sr2", |
2735 | .class = &omap34xx_smartreflex_hwmod_class, | 2735 | .class = &omap34xx_smartreflex_hwmod_class, |
2736 | .main_clk = "sr2_fck", | 2736 | .main_clk = "sr2_fck", |
2737 | .prcm = { | 2737 | .prcm = { |
@@ -2751,7 +2751,7 @@ static struct omap_hwmod omap34xx_sr2_hwmod = { | |||
2751 | }; | 2751 | }; |
2752 | 2752 | ||
2753 | static struct omap_hwmod omap36xx_sr2_hwmod = { | 2753 | static struct omap_hwmod omap36xx_sr2_hwmod = { |
2754 | .name = "sr2_hwmod", | 2754 | .name = "sr2", |
2755 | .class = &omap36xx_smartreflex_hwmod_class, | 2755 | .class = &omap36xx_smartreflex_hwmod_class, |
2756 | .main_clk = "sr2_fck", | 2756 | .main_clk = "sr2_fck", |
2757 | .prcm = { | 2757 | .prcm = { |