All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP3: HWMOD: Fix compilation error due to sr hwmod usage
@ 2010-06-22 15:00 Charulatha V
  2010-06-22 15:29 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Charulatha V @ 2010-06-22 15:00 UTC (permalink / raw)
  To: linux-omap; +Cc: khilman, 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

Signed-off-by: Charulatha V <charu@ti.com>
---
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
index f7e1ace..fe92b5d 100644
--- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
@@ -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,
 };
 
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] OMAP3: HWMOD: Fix compilation error due to sr hwmod usage
  2010-06-22 15:00 [PATCH] OMAP3: HWMOD: Fix compilation error due to sr hwmod usage Charulatha V
@ 2010-06-22 15:29 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2010-06-22 15:29 UTC (permalink / raw)
  To: Charulatha V; +Cc: linux-omap

Charulatha V <charu@ti.com> writes:

> 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
>
> Signed-off-by: Charulatha V <charu@ti.com>

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

> ---
>  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> index f7e1ace..fe92b5d 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> @@ -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,
>  };
>  
> -- 
> 1.6.3.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-22 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 15:00 [PATCH] OMAP3: HWMOD: Fix compilation error due to sr hwmod usage Charulatha V
2010-06-22 15:29 ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.