mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
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: Heiko Stuebner <heiko@sntech.de> Acked-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
This commit is contained in:
parent
dcbc9169ed
commit
f8d878ddbb
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user