From: Maxim Levitsky <maximlevitsky@gmail.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: linux-kernel@vger.kernel.org,
David Brownell <david-b@pacbell.net>,
Alan Stern <stern@rowland.harvard.edu>,
linux-mmc@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] mmc: build fix: mmc_pm_notify is only available with CONFIG_PM=y
Date: Fri, 13 Aug 2010 13:01:07 +0300 [thread overview]
Message-ID: <1281693667.4160.0.camel@maxim-laptop> (raw)
In-Reply-To: <1281691473-15481-1-git-send-email-u.kleine-koenig@pengutronix.de>
On Fri, 2010-08-13 at 11:24 +0200, Uwe Kleine-König wrote:
> This fixes a build breakage introduced by
>
> 4c2ef25 (mmc: fix all hangs related to mmc/sd card insert/removal during suspend/resume)
>
> Cc: Maxim Levitsky <maximlevitsky@gmail.com>
> Cc: David Brownell <david-b@pacbell.net>
> Cc: Alan Stern <stern@rowland.harvard.edu>
> Cc: linux-mmc@vger.kernel.org
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> drivers/mmc/core/host.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
> index 0efe631..d80cfdc 100644
> --- a/drivers/mmc/core/host.c
> +++ b/drivers/mmc/core/host.c
> @@ -86,7 +86,9 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
> init_waitqueue_head(&host->wq);
> INIT_DELAYED_WORK(&host->detect, mmc_rescan);
> INIT_DELAYED_WORK_DEFERRABLE(&host->disable, mmc_host_deeper_disable);
> +#ifdef CONFIG_PM
> host->pm_notify.notifier_call = mmc_pm_notify;
> +#endif
>
> /*
> * By default, hosts do not support SGIO or large requests.
Hi,
Sorry about that!
Best regards,
Maxim Levitsky
next prev parent reply other threads:[~2010-08-13 10:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 21:21 [PATCH] Two fixes for my mmc/sd cardreader Maxim Levitsky
2010-06-17 21:23 ` [PATCH 1/2] MMC: fix all hangs related to mmc/sd card insert/removal during suspend/resume Maxim Levitsky
2010-06-21 20:04 ` Adrian Hunter
2010-06-21 20:14 ` Maxim Levitsky
2010-06-21 20:26 ` Rafael J. Wysocki
2010-06-22 0:03 ` Maxim Levitsky
2010-06-22 9:19 ` Rafael J. Wysocki
2010-06-22 21:17 ` Maxim Levitsky
2010-06-22 21:53 ` Rafael J. Wysocki
2010-06-22 22:20 ` Andrew Morton
2010-06-23 0:16 ` Rafael J. Wysocki
2010-06-23 3:08 ` MMC tree (Was: Re: [PATCH 1/2] MMC: fix all hangs related to mmc/sd card insert/removal during suspend/resume.) Stephen Rothwell
2010-06-23 3:52 ` Andrew Morton
2010-08-13 9:24 ` [PATCH] mmc: build fix: mmc_pm_notify is only available with CONFIG_PM=y Uwe Kleine-König
2010-08-13 10:01 ` Maxim Levitsky [this message]
2010-08-16 7:51 ` Maxim Levitsky
2010-08-16 5:28 ` Kukjin Kim
2010-06-17 21:23 ` [PATCH 2/2] mmc: make sdhci work with ricoh mmc controller Maxim Levitsky
2010-06-21 19:21 ` [PATCH] Two fixes for my mmc/sd cardreader Maxim Levitsky
2010-06-21 19:39 ` Andrew Morton
2010-06-21 19:50 ` Maxim Levitsky
-- strict thread matches above, loose matches on Subject: below --
2010-08-18 16:25 [PATCH] mmc: build fix: mmc_pm_notify is only available with CONFIG_PM=y Randy Dunlap
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=1281693667.4160.0.camel@maxim-laptop \
--to=maximlevitsky@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=u.kleine-koenig@pengutronix.de \
/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