From: Tony Lindgren <tony@atomide.com>
To: Jean-Francois Moine <moinejf@free.fr>
Cc: Grant Likely <grant.likely@linaro.org>,
Rob Herring <rob.herring@calxeda.com>,
Linus Walleij <linus.walleij@linaro.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM
Date: Mon, 15 Jul 2013 07:51:09 -0700 [thread overview]
Message-ID: <20130715145109.GQ7656@atomide.com> (raw)
In-Reply-To: <20130715101426.4e4301b3@armhf>
* Jean-Francois Moine <moinejf@free.fr> [130715 01:19]:
> This warning has been introduced by the commit
> 0f9bc4bcdf4f pinctrl: single: adopt pinctrl sleep mode management
>
> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Acked-by: Tony Lindgren <tony@atomide.com>
> ---
> drivers/pinctrl/pinctrl-single.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
> index 6866548..7323cca 100644
> --- a/drivers/pinctrl/pinctrl-single.c
> +++ b/drivers/pinctrl/pinctrl-single.c
> @@ -1483,6 +1483,7 @@ static int pcs_add_gpio_func(struct device_node *node, struct pcs_device *pcs)
> return ret;
> }
>
> +#ifdef CONFIG_PM
> static int pinctrl_single_suspend(struct platform_device *pdev,
> pm_message_t state)
> {
> @@ -1505,6 +1506,7 @@ static int pinctrl_single_resume(struct platform_device *pdev)
>
> return pinctrl_force_default(pcs->pctl);
> }
> +#endif
>
> static int pcs_probe(struct platform_device *pdev)
> {
>
next prev parent reply other threads:[~2013-07-15 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-15 8:14 [PATCH] pinctrl: pinctrl-single: fix compile warning when no CONFIG_PM Jean-Francois Moine
2013-07-15 14:51 ` Tony Lindgren [this message]
2013-07-22 21:01 ` Linus Walleij
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=20130715145109.GQ7656@atomide.com \
--to=tony@atomide.com \
--cc=grant.likely@linaro.org \
--cc=haojian.zhuang@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=moinejf@free.fr \
--cc=rob.herring@calxeda.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