From: Kukjin Kim <kgene.kim@samsung.com>
To: "'Uwe Kleine-König'" <u.kleine-koenig@pengutronix.de>,
linux-kernel@vger.kernel.org
Cc: "'Maxim Levitsky'" <maximlevitsky@gmail.com>,
"'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: Mon, 16 Aug 2010 14:28:33 +0900 [thread overview]
Message-ID: <003901cb3d03$ec038140$c40a83c0$%kim@samsung.com> (raw)
In-Reply-To: <1281691473-15481-1-git-send-email-u.kleine-koenig@pengutronix.de>
Uwe Kleine-Konig 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>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
> ---
> 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.
> --
> 1.7.1
>
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
next prev parent reply other threads:[~2010-08-16 5:28 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
2010-08-16 7:51 ` Maxim Levitsky
2010-08-16 5:28 ` Kukjin Kim [this message]
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
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='003901cb3d03$ec038140$c40a83c0$%kim@samsung.com' \
--to=kgene.kim@samsung.com \
--cc=akpm@linux-foundation.org \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
--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
all inboxes | Powered by JetHome®