* [PATCH] ARM: OMAP: clk_disable_unused: init section mismatch
@ 2007-11-01 17:18 Kevin Hilman
2007-11-15 20:41 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2007-11-01 17:18 UTC (permalink / raw)
To: linux-omap-open-source
Fix the following warning when OMAP_RESET_CLOCKS is enabled:
WARNING: vmlinux.o(.data+0x33a0): Section mismatch: reference to .init.text:omap2_clk_disable_unused (between 'omap2_clk_functions' and 'osc_ck')
omap2_clk_disable_unused cannot be declared __init as it part of a
struct where the rest of the functions are not __init.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
---
arch/arm/mach-omap2/clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: dev/arch/arm/mach-omap2/clock.c
===================================================================
--- dev.orig/arch/arm/mach-omap2/clock.c
+++ dev/arch/arm/mach-omap2/clock.c
@@ -739,7 +739,7 @@ int omap2_clk_set_parent(struct clk *clk
*-------------------------------------------------------------------------*/
#ifdef CONFIG_OMAP_RESET_CLOCKS
-void __init omap2_clk_disable_unused(struct clk *clk)
+void omap2_clk_disable_unused(struct clk *clk)
{
u32 regval32, v;
--
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ARM: OMAP: clk_disable_unused: init section mismatch
2007-11-01 17:18 [PATCH] ARM: OMAP: clk_disable_unused: init section mismatch Kevin Hilman
@ 2007-11-15 20:41 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-11-15 20:41 UTC (permalink / raw)
To: Kevin Hilman; +Cc: linux-omap-open-source
* Kevin Hilman <khilman@mvista.com> [071101 10:19]:
> Fix the following warning when OMAP_RESET_CLOCKS is enabled:
>
> WARNING: vmlinux.o(.data+0x33a0): Section mismatch: reference to .init.text:omap2_clk_disable_unused (between 'omap2_clk_functions' and 'osc_ck')
>
> omap2_clk_disable_unused cannot be declared __init as it part of a
> struct where the rest of the functions are not __init.
>
> Signed-off-by: Kevin Hilman <khilman@mvista.com>
>
> ---
> arch/arm/mach-omap2/clock.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Index: dev/arch/arm/mach-omap2/clock.c
> ===================================================================
> --- dev.orig/arch/arm/mach-omap2/clock.c
> +++ dev/arch/arm/mach-omap2/clock.c
> @@ -739,7 +739,7 @@ int omap2_clk_set_parent(struct clk *clk
> *-------------------------------------------------------------------------*/
>
> #ifdef CONFIG_OMAP_RESET_CLOCKS
> -void __init omap2_clk_disable_unused(struct clk *clk)
> +void omap2_clk_disable_unused(struct clk *clk)
> {
> u32 regval32, v;
>
Pushing today.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-15 20:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 17:18 [PATCH] ARM: OMAP: clk_disable_unused: init section mismatch Kevin Hilman
2007-11-15 20:41 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox