Commit f8d878dd authored by Heiko Stuebner's avatar Heiko Stuebner Committed by 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: default avatarHeiko Stuebner <heiko@sntech.de>
Acked-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent dcbc9169
...@@ -406,8 +406,8 @@ static int s3c_adc_bat_resume(struct platform_device *pdev) ...@@ -406,8 +406,8 @@ static int s3c_adc_bat_resume(struct platform_device *pdev)
return 0; return 0;
} }
#else #else
#define s3c_adc_battery_suspend NULL #define s3c_adc_bat_suspend NULL
#define s3c_adc_battery_resume NULL #define s3c_adc_bat_resume NULL
#endif #endif
static struct platform_driver s3c_adc_bat_driver = { static struct platform_driver s3c_adc_bat_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment