Skip to contentSkip to conversation

OMAP3: HWMOD: Fix compilation error due to sr hwmod usage

PATCH In review Charulatha V 2 participants 2 messages Jun 22, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP3: HWMOD: Fix compilation error due to sr hwmod usage

On 'origin/pm-wip/hwmods-omap4' branch, fix the following compilation error:

arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:218:
error: 'omap34xx_sr1_hwmod' undeclared here (not in a function)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:219:
error: 'omap34xx_sr2_hwmod' undeclared here (not in a function)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:220: error:
'omap36xx_sr1_hwmod' undeclared here (not in a function)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:221:
error: 'omap36xx_sr2_hwmod' undeclared here (not in a function)
make[1]: *** [arch/arm/mach-omap2/omap_hwmod_3xxx_data.o] Error 1

---
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +0 -4
index f7e1ace..fe92b5d 100644
@@ -215,10 +215,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
 	&omap3xxx_l4_wkup_hwmod,
 	&omap3xxx_mpu_hwmod,
 	&omap3xxx_iva2_hwmod,
-	&omap34xx_sr1_hwmod,
-	&omap34xx_sr2_hwmod,
-	&omap36xx_sr1_hwmod,
-	&omap36xx_sr2_hwmod,
 	NULL,
 };
 
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 13 lines · Charulatha V

On 'origin/pm-wip/hwmods-omap4' branch, fix the following compilation error:

arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:218:
error: 'omap34xx_sr1_hwmod' undeclared here (not in a function)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:219:
error: 'omap34xx_sr2_hwmod' undeclared here (not in a function)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:220: error:
'omap36xx_sr1_hwmod' undeclared here (not in a function)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c:221:
error: 'omap36xx_sr2_hwmod' undeclared here (not in a function)
make[1]: *** [arch/arm/mach-omap2/omap_hwmod_3xxx_data.o] Error 1

Quoted 1 line

Oops, looks like a mis-merge on my part when adding the IVA hwmod data.

I fixed this and just pushed an updated version of the pm-wip/hwmods branch and (rebased pm-wip/runtime and pm-wip/hwmods-omap4 on top.)

Note that it make take a little time to propagate to the kernel.org mirrors.

Kevin

Quoted 21 lines
---
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c +0 -4
index f7e1ace..fe92b5d 100644
@@ -215,10 +215,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
 	&omap3xxx_l4_wkup_hwmod,
 	&omap3xxx_mpu_hwmod,
 	&omap3xxx_iva2_hwmod,
-	&omap34xx_sr1_hwmod,
-	&omap34xx_sr2_hwmod,
-	&omap36xx_sr1_hwmod,
-	&omap36xx_sr2_hwmod,
 	NULL,
 };
 
Signature · 1 line
1.6.3.3