From: Vasily Khoruzhick <anarsoul@gmail.com>
To: "Heiko Stübner" <heiko@sntech.de>
Cc: linux-kernel@vger.kernel.org, Anton Vorontsov <cbou@mail.ru>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH] s3c_adc_battery: Fix method names when PM not set
Date: Mon, 14 Mar 2011 23:38:40 +0200 [thread overview]
Message-ID: <201103142338.40584.anarsoul@gmail.com> (raw)
In-Reply-To: <201103142112.39392.heiko@sntech.de>
On Monday 14 March 2011 22:12:39 Heiko Stübner wrote:
> From: Heiko Stuebner <heiko@sntech.de>
>
> s3c_adc_battery declares wrong method names when CONFIG_PM is not set.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>
> ---
> drivers/power/s3c_adc_battery.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/power/s3c_adc_battery.c
> b/drivers/power/s3c_adc_battery.c index 4255f23..d36c289 100644
> --- a/drivers/power/s3c_adc_battery.c
> +++ b/drivers/power/s3c_adc_battery.c
> @@ -406,8 +406,8 @@ static int s3c_adc_bat_resume(struct platform_device
> *pdev) return 0;
> }
> #else
> -#define s3c_adc_battery_suspend NULL
> -#define s3c_adc_battery_resume NULL
> +#define s3c_adc_bat_suspend NULL
> +#define s3c_adc_bat_resume NULL
> #endif
>
> static struct platform_driver s3c_adc_bat_driver = {
next prev parent reply other threads:[~2011-03-14 21:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-14 20:12 [PATCH] s3c_adc_battery: Fix method names when PM not set Heiko Stübner
2011-03-14 21:38 ` Vasily Khoruzhick [this message]
2011-03-16 13:42 ` Anton Vorontsov
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=201103142338.40584.anarsoul@gmail.com \
--to=anarsoul@gmail.com \
--cc=cbou@mail.ru \
--cc=dwmw2@infradead.org \
--cc=heiko@sntech.de \
--cc=linux-kernel@vger.kernel.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