All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vishwanath Sripathy <vishwanath.bs@ti.com>
To: Shubhrajyoti Datta <shubhrajyoti@ti.com>, linux-omap@vger.kernel.org
Subject: RE: [PATCH] OMAP: Keypad: Make keypad_data initdata
Date: Tue, 12 Jul 2011 12:09:39 +0530	[thread overview]
Message-ID: <b288e44002208a77adcd0c206d15ecf5@mail.gmail.com> (raw)
In-Reply-To: <1310452306-2246-1-git-send-email-shubhrajyoti@ti.com>

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Shubhrajyoti D
> Sent: Tuesday, July 12, 2011 12:02 PM
> To: linux-omap@vger.kernel.org
> Cc: Shubhrajyoti D
> Subject: [PATCH] OMAP: Keypad: Make keypad_data initdata
>
> 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
Is this issue only for OMAP4 SDP? What about Panda, Beagle, OMAP3 SDP
boards?
If it's only for OMAP4, pls correct the subject.

Vishwa
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-
> omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-07-12  6:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12  6:31 [PATCH] OMAP: Keypad: Make keypad_data initdata Shubhrajyoti D
2011-07-12  6:39 ` Vishwanath Sripathy [this message]
2011-07-12  8:43   ` Shubhrajyoti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b288e44002208a77adcd0c206d15ecf5@mail.gmail.com \
    --to=vishwanath.bs@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=shubhrajyoti@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.