From: Thierry Reding <thierry.reding@avionic-design.de>
To: Hiroshi Doyu <hdoyu@nvidia.com>
Cc: linux-tegra@vger.kernel.org,
Stephen Warren <swarren@wwwdotorg.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Axel Lin <axel.lin@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] memory: tegra30: Fix build error w/o PM
Date: Thu, 14 Mar 2013 10:40:18 +0100 [thread overview]
Message-ID: <20130314094018.GA23538@avionic-0098.mockup.avionic-design.de> (raw)
In-Reply-To: <1363252334-4672-1-git-send-email-hdoyu@nvidia.com>
[-- Attachment #1: Type: text/plain, Size: 892 bytes --]
On Thu, Mar 14, 2013 at 11:12:10AM +0200, Hiroshi Doyu wrote:
> Make this depend on CONFIG_PM.
>
> Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
> ---
> drivers/memory/tegra30-mc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c
> index 0b97598..f4ae074 100644
> --- a/drivers/memory/tegra30-mc.c
> +++ b/drivers/memory/tegra30-mc.c
> @@ -268,6 +268,7 @@ static const u32 tegra30_mc_ctx[] = {
> MC_INTMASK,
> };
>
> +#ifdef CONFIG_PM
> static int tegra30_mc_suspend(struct device *dev)
> {
> int i;
> @@ -291,6 +292,7 @@ static int tegra30_mc_resume(struct device *dev)
> mc_readl(mc, MC_TIMING_CONTROL);
> return 0;
> }
> +#endif
>
> static UNIVERSAL_DEV_PM_OPS(tegra30_mc_pm,
> tegra30_mc_suspend,
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-03-14 9:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-14 9:12 Hiroshi Doyu
2013-03-14 9:40 ` Thierry Reding [this message]
2013-03-15 19:23 ` Stephen Warren
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=20130314094018.GA23538@avionic-0098.mockup.avionic-design.de \
--to=thierry.reding@avionic-design.de \
--cc=axel.lin@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hdoyu@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=swarren@wwwdotorg.org \
/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
Powered by JetHome