All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP4: 4430SDP: Keypad: Make keypad_data initdata
@ 2011-07-12 16:32 ` Shubhrajyoti D
  0 siblings, 0 replies; 4+ messages in thread
From: Shubhrajyoti D @ 2011-07-12 16:32 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel, Shubhrajyoti D

The keypad data is accessed only at init so making it initdata.
This removes the section mismatch warning.

Reported-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
---
 arch/arm/mach-omap2/board-4430sdp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 47e6ab9..2b28c7e 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -195,7 +195,7 @@ static struct omap4_keypad_platform_data sdp4430_keypad_data = {
 	.cols			= 8,
 };
 
-static struct omap_board_data keypad_data = {
+static struct omap_board_data keypad_data __initdata = {
 	.id	    = 1,
 	.pads	 = keypad_pads,
 	.pads_cnt       = ARRAY_SIZE(keypad_pads),
-- 
1.7.1


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

* [PATCH] OMAP4: 4430SDP: Keypad: Make keypad_data initdata
@ 2011-07-12 16:32 ` Shubhrajyoti D
  0 siblings, 0 replies; 4+ messages in thread
From: Shubhrajyoti D @ 2011-07-12 16:32 UTC (permalink / raw)
  To: linux-arm-kernel

The keypad data is accessed only at init so making it initdata.
This removes the section mismatch warning.

Reported-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
---
 arch/arm/mach-omap2/board-4430sdp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c
index 47e6ab9..2b28c7e 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -195,7 +195,7 @@ static struct omap4_keypad_platform_data sdp4430_keypad_data = {
 	.cols			= 8,
 };
 
-static struct omap_board_data keypad_data = {
+static struct omap_board_data keypad_data __initdata = {
 	.id	    = 1,
 	.pads	 = keypad_pads,
 	.pads_cnt       = ARRAY_SIZE(keypad_pads),
-- 
1.7.1

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

* Re: [PATCH] OMAP4: 4430SDP: Keypad: Make keypad_data initdata
  2011-07-12 16:32 ` Shubhrajyoti D
@ 2011-07-12 22:32   ` Kevin Hilman
  -1 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-07-12 22:32 UTC (permalink / raw)
  To: Shubhrajyoti D; +Cc: linux-omap, linux-arm-kernel

Shubhrajyoti D <shubhrajyoti@ti.com> writes:

> The keypad data is accessed only at init so making it initdata.
> This removes the section mismatch warning.
>
> Reported-by: Kevin Hilman <khilman@ti.com>
> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>

Acked-by: Kevin Hilman <khilman@ti.com>

Tony, if it's not too late, this should probably queue for v3.1 so that
it goes in at the same time as the patch that introduces this compile
warning.

Kevin

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

* [PATCH] OMAP4: 4430SDP: Keypad: Make keypad_data initdata
@ 2011-07-12 22:32   ` Kevin Hilman
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2011-07-12 22:32 UTC (permalink / raw)
  To: linux-arm-kernel

Shubhrajyoti D <shubhrajyoti@ti.com> writes:

> The keypad data is accessed only at init so making it initdata.
> This removes the section mismatch warning.
>
> Reported-by: Kevin Hilman <khilman@ti.com>
> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>

Acked-by: Kevin Hilman <khilman@ti.com>

Tony, if it's not too late, this should probably queue for v3.1 so that
it goes in at the same time as the patch that introduces this compile
warning.

Kevin

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

end of thread, other threads:[~2011-07-12 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12 16:32 [PATCH] OMAP4: 4430SDP: Keypad: Make keypad_data initdata Shubhrajyoti D
2011-07-12 16:32 ` Shubhrajyoti D
2011-07-12 22:32 ` Kevin Hilman
2011-07-12 22:32   ` 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.