Re: [PATCH] s3c_adc_battery: Fix method names when PM not set

From: Vasily Khoruzhick
Date: Mon Mar 14 2011 - 17:39:19 EST


On Monday 14 March 2011 22:12:39 Heiko Stübner wrote:
> From: Heiko Stuebner <heiko@xxxxxxxxx>
>
> s3c_adc_battery declares wrong method names when CONFIG_PM is not set.
>
> Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>

Acked-by: Vasily Khoruzhick <anarsoul@xxxxxxxxx>

> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/