linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] OMAP: RM-680: fix omap2_init_common_hw compile break
@ 2010-12-16 17:27 Omar Ramirez Luna
  2010-12-16 18:05 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: Omar Ramirez Luna @ 2010-12-16 17:27 UTC (permalink / raw)
  To: linux-arm-kernel

This solves the following:

arch/arm/mach-omap2/board-rm680.c: In function 'rm680_init_irq':
arch/arm/mach-omap2/board-rm680.c:149: error: implicit
	declaration of function 'omap2_init_common_hw'

And another occurence of the same functions in am3517crane
board file.

Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.com>
---
 arch/arm/mach-omap2/board-am3517crane.c |    3 ++-
 arch/arm/mach-omap2/board-rm680.c       |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c
index 8ba4047..781ed25 100644
--- a/arch/arm/mach-omap2/board-am3517crane.c
+++ b/arch/arm/mach-omap2/board-am3517crane.c
@@ -47,7 +47,8 @@ static void __init am3517_crane_init_irq(void)
 	omap_board_config = am3517_crane_config;
 	omap_board_config_size = ARRAY_SIZE(am3517_crane_config);
 
-	omap2_init_common_hw(NULL, NULL);
+	omap2_init_common_infrastructure();
+	omap2_init_common_devices(NULL, NULL);
 	omap_init_irq();
 }
 
diff --git a/arch/arm/mach-omap2/board-rm680.c b/arch/arm/mach-omap2/board-rm680.c
index 8da65bd..e51e737 100644
--- a/arch/arm/mach-omap2/board-rm680.c
+++ b/arch/arm/mach-omap2/board-rm680.c
@@ -146,7 +146,8 @@ static void __init rm680_init_irq(void)
 	struct omap_sdrc_params *sdrc_params;
 
 	sdrc_params = nokia_get_sdram_timings();
-	omap2_init_common_hw(sdrc_params, sdrc_params);
+	omap2_init_common_infrastructure();
+	omap2_init_common_devices(sdrc_params, sdrc_params);
 	omap_init_irq();
 }
 
-- 
1.7.1

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

* [PATCH] OMAP: RM-680: fix omap2_init_common_hw compile break
  2010-12-16 17:27 [PATCH] OMAP: RM-680: fix omap2_init_common_hw compile break Omar Ramirez Luna
@ 2010-12-16 18:05 ` Russell King - ARM Linux
  2010-12-16 18:27   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2010-12-16 18:05 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Dec 16, 2010 at 11:27:18AM -0600, Omar Ramirez Luna wrote:
> diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c
> index 8ba4047..781ed25 100644
> --- a/arch/arm/mach-omap2/board-am3517crane.c
> +++ b/arch/arm/mach-omap2/board-am3517crane.c
> @@ -47,7 +47,8 @@ static void __init am3517_crane_init_irq(void)
>  	omap_board_config = am3517_crane_config;
>  	omap_board_config_size = ARRAY_SIZE(am3517_crane_config);
>  
> -	omap2_init_common_hw(NULL, NULL);
> +	omap2_init_common_infrastructure();
> +	omap2_init_common_devices(NULL, NULL);
>  	omap_init_irq();

Once I have the init_early() sorted, hopefully most of the abuse in
these callbacks can be moved into the init_early() callback.

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

* [PATCH] OMAP: RM-680: fix omap2_init_common_hw compile break
  2010-12-16 18:05 ` Russell King - ARM Linux
@ 2010-12-16 18:27   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2010-12-16 18:27 UTC (permalink / raw)
  To: linux-arm-kernel

* Russell King - ARM Linux <linux@arm.linux.org.uk> [101216 10:05]:
> On Thu, Dec 16, 2010 at 11:27:18AM -0600, Omar Ramirez Luna wrote:
> > diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach-omap2/board-am3517crane.c
> > index 8ba4047..781ed25 100644
> > --- a/arch/arm/mach-omap2/board-am3517crane.c
> > +++ b/arch/arm/mach-omap2/board-am3517crane.c
> > @@ -47,7 +47,8 @@ static void __init am3517_crane_init_irq(void)
> >  	omap_board_config = am3517_crane_config;
> >  	omap_board_config_size = ARRAY_SIZE(am3517_crane_config);
> >  
> > -	omap2_init_common_hw(NULL, NULL);
> > +	omap2_init_common_infrastructure();
> > +	omap2_init_common_devices(NULL, NULL);
> >  	omap_init_irq();
> 
> Once I have the init_early() sorted, hopefully most of the abuse in
> these callbacks can be moved into the init_early() callback.

Sounds good to me.

Thanks,

Tony

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

end of thread, other threads:[~2010-12-16 18:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16 17:27 [PATCH] OMAP: RM-680: fix omap2_init_common_hw compile break Omar Ramirez Luna
2010-12-16 18:05 ` Russell King - ARM Linux
2010-12-16 18:27   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).