提交 f8d878dd 编写于 作者: H Heiko Stuebner 提交者: Anton Vorontsov

s3c_adc_battery: Fix method names when PM not set

s3c_adc_battery declares wrong method names when CONFIG_PM is not set.
Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
Acked-by: NVasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
上级 dcbc9169
......@@ -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 = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册