]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
OMAP: hwmod: Rename hwmod name for the MPU
authorBenoit Cousson <b-cousson@ti.com>
Thu, 20 May 2010 18:31:10 +0000 (12:31 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 20 May 2010 18:31:10 +0000 (12:31 -0600)
In the lastest OMAP4 hwmod data file, the _hwmod was removed
in order to save some memory space and because it does not
bring a lot.

The same cleanup will be have to done for other hwmods in
OMAP2 & 3 data files.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

index b624ad64821236e9c3eb333fdcc9b9c6df332d97..b6031e468defe92c12fa7cfbe3be26069acac572 100644 (file)
@@ -58,7 +58,7 @@
 #define MAX_MODULE_RESET_WAIT          10000
 
 /* Name of the OMAP hwmod for the MPU */
-#define MPU_INITIATOR_NAME             "mpu_hwmod"
+#define MPU_INITIATOR_NAME             "mpu"
 
 /* omap_hwmod_list contains all registered struct omap_hwmods */
 static LIST_HEAD(omap_hwmod_list);
index eb7ee2453b24e9e46c6fbc2c6582b22bdadb459a..e5530c51f77dd15729967ee1490f3211ba884954 100644 (file)
@@ -125,7 +125,7 @@ static struct omap_hwmod_ocp_if *omap2420_mpu_masters[] = {
 
 /* MPU */
 static struct omap_hwmod omap2420_mpu_hwmod = {
-       .name           = "mpu_hwmod",
+       .name           = "mpu",
        .class          = &mpu_hwmod_class,
        .main_clk       = "mpu_ck",
        .masters        = omap2420_mpu_masters,
index 241bd82307297147c5b308394b46a0a1fbb743e9..0852d954da406590e954e018b5287819b000608b 100644 (file)
@@ -127,7 +127,7 @@ static struct omap_hwmod_ocp_if *omap2430_mpu_masters[] = {
 
 /* MPU */
 static struct omap_hwmod omap2430_mpu_hwmod = {
-       .name           = "mpu_hwmod",
+       .name           = "mpu",
        .class          = &mpu_hwmod_class,
        .main_clk       = "mpu_ck",
        .masters        = omap2430_mpu_masters,
index ed6084004260d19449afdce0a5095754839fc3a0..39b0c0eaa37d27d89552984c4de8bbdb171ac387 100644 (file)
@@ -156,7 +156,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_mpu_masters[] = {
 
 /* MPU */
 static struct omap_hwmod omap3xxx_mpu_hwmod = {
-       .name           = "mpu_hwmod",
+       .name           = "mpu",
        .class          = &mpu_hwmod_class,
        .main_clk       = "arm_fck",
        .masters        = omap3xxx_mpu_masters,