[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201103142338.40584.anarsoul@gmail.com>
Date: Mon, 14 Mar 2011 23:38:40 +0200
From: Vasily Khoruzhick <anarsoul@...il.com>
To: Heiko Stübner <heiko@...ech.de>
Cc: linux-kernel@...r.kernel.org, Anton Vorontsov <cbou@...l.ru>,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH] s3c_adc_battery: Fix method names when PM not set
On Monday 14 March 2011 22:12:39 Heiko Stübner wrote:
> From: Heiko Stuebner <heiko@...ech.de>
>
> s3c_adc_battery declares wrong method names when CONFIG_PM is not set.
>
> Signed-off-by: Heiko Stuebner <heiko@...ech.de>
Acked-by: Vasily Khoruzhick <anarsoul@...il.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 = {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists