diff options
author | Heiko Stuebner <heiko@sntech.de> | 2011-03-14 16:12:39 -0400 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2011-03-16 09:39:26 -0400 |
commit | f8d878ddbb3c08bc2f876975df674484208536ac (patch) | |
tree | 7ebe9b23bf71eddd315ef59a49beb5018fd9139e /drivers/power | |
parent | dcbc9169ed3ce7cd12328fec8b9eb9f7b91ce130 (diff) |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | 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 4255f2358b13..d36c289aaef5 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) | |||
406 | return 0; | 406 | return 0; |
407 | } | 407 | } |
408 | #else | 408 | #else |
409 | #define s3c_adc_battery_suspend NULL | 409 | #define s3c_adc_bat_suspend NULL |
410 | #define s3c_adc_battery_resume NULL | 410 | #define s3c_adc_bat_resume NULL |
411 | #endif | 411 | #endif |
412 | 412 | ||
413 | static struct platform_driver s3c_adc_bat_driver = { | 413 | static struct platform_driver s3c_adc_bat_driver = { |