public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Fix section mismatch warning in board-osk.c
@ 2007-05-18  7:13 Dirk Behme
  2007-05-18 15:47 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2007-05-18  7:13 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 124 bytes --]


Fix section mismatch reference to .init.data: from .data in 'osk_config'

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>

[-- Attachment #2: fix_section_mismatch_board_osk.txt --]
[-- Type: text/plain, Size: 534 bytes --]

Index: linux-osk/arch/arm/mach-omap1/board-osk.c
===================================================================
--- linux-osk.orig/arch/arm/mach-omap1/board-osk.c
+++ linux-osk/arch/arm/mach-omap1/board-osk.c
@@ -237,7 +237,7 @@ static struct omap_lcd_config osk_lcd_co
 };
 #endif
 
-static struct omap_board_config_kernel osk_config[] = {
+static struct omap_board_config_kernel osk_config[] __initdata = {
 	{ OMAP_TAG_USB,           &osk_usb_config },
 	{ OMAP_TAG_UART,		&osk_uart_config },
 #ifdef	CONFIG_OMAP_OSK_MISTRAL


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

* Re: [PATCH] ARM: OMAP: Fix section mismatch warning in board-osk.c
  2007-05-18  7:13 [PATCH] ARM: OMAP: Fix section mismatch warning in board-osk.c Dirk Behme
@ 2007-05-18 15:47 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-05-18 15:47 UTC (permalink / raw)
  To: Dirk Behme; +Cc: linux-omap-open-source

* Dirk Behme <dirk.behme@googlemail.com> [070518 00:17]:
>
> Fix section mismatch reference to .init.data: from .data in 'osk_config'
>
> Signed-off-by: Dirk Behme <dirk.behme@gmail.com>

> Index: linux-osk/arch/arm/mach-omap1/board-osk.c
> ===================================================================
> --- linux-osk.orig/arch/arm/mach-omap1/board-osk.c
> +++ linux-osk/arch/arm/mach-omap1/board-osk.c
> @@ -237,7 +237,7 @@ static struct omap_lcd_config osk_lcd_co
>  };
>  #endif
>  
> -static struct omap_board_config_kernel osk_config[] = {
> +static struct omap_board_config_kernel osk_config[] __initdata = {
>  	{ OMAP_TAG_USB,           &osk_usb_config },
>  	{ OMAP_TAG_UART,		&osk_uart_config },
>  #ifdef	CONFIG_OMAP_OSK_MISTRAL
> 

Pushing today.

Tony

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

end of thread, other threads:[~2007-05-18 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-18  7:13 [PATCH] ARM: OMAP: Fix section mismatch warning in board-osk.c Dirk Behme
2007-05-18 15:47 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox