From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: linux-kernel@vger.kernel.org
Cc: Ian Molton <ian@mnementh.co.uk>, Magnus Damm <damm@opensource.se>,
Samuel Ortiz <sameo@linux.intel.com>
Subject: Re: [PATCH] mfd/tc6393xb: don't use devinit data from non-init function
Date: Tue, 19 Oct 2010 09:19:51 +0200 [thread overview]
Message-ID: <20101019071951.GB23839@pengutronix.de> (raw)
In-Reply-To: <1267546953-19319-1-git-send-email-u.kleine-koenig@pengutronix.de>
Hello,
On Tue, Mar 02, 2010 at 05:22:33PM +0100, Uwe Kleine-König wrote:
> tc6393xb_mmc_resources (which was marked __devinitdata) is used in
> tc6393xb_mmc_enable() and tc6393xb_mmc_resume() which both are functions
> living in .text. This is not save with CONFIG_HOTPLUG=n.
>
> This was introduced in
>
> 64e8867 (mfd: tmio_mmc hardware abstraction for CNF area)
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Cc: Ian Molton <ian@mnementh.co.uk>
> Cc: Magnus Damm <damm@opensource.se>
> Cc: Samuel Ortiz <sameo@linux.intel.com>
ping
Uwe
> ---
> drivers/mfd/tc6393xb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c
> index 4bc5a08..b057d8d 100644
> --- a/drivers/mfd/tc6393xb.c
> +++ b/drivers/mfd/tc6393xb.c
> @@ -154,7 +154,7 @@ static struct resource __devinitdata tc6393xb_nand_resources[] = {
> },
> };
>
> -static struct resource __devinitdata tc6393xb_mmc_resources[] = {
> +static struct resource tc6393xb_mmc_resources[] = {
> {
> .start = 0x800,
> .end = 0x9ff,
> --
> 1.7.0
>
>
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
next prev parent reply other threads:[~2010-10-19 7:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-02 16:22 Uwe Kleine-König
2010-10-19 7:19 ` Uwe Kleine-König [this message]
2010-10-19 7:44 ` Ian Molton
2010-10-19 10:31 ` Samuel Ortiz
2010-10-19 13:07 ` Uwe Kleine-König
2010-10-19 13:22 ` Samuel Ortiz
2010-10-19 13:33 ` Uwe Kleine-König
2010-10-19 13:34 ` Samuel Ortiz
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=20101019071951.GB23839@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=damm@opensource.se \
--cc=ian@mnementh.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=sameo@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®