summaryrefslogtreecommitdiffstats
path: root/drivers/power/s3c_adc_battery.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2011-03-14 21:12:39 +0100
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-03-16 16:39:26 +0300
commitf8d878ddbb3c08bc2f876975df674484208536ac (patch)
tree7ebe9b23bf71eddd315ef59a49beb5018fd9139e /drivers/power/s3c_adc_battery.c
parentdcbc9169ed3ce7cd12328fec8b9eb9f7b91ce130 (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/s3c_adc_battery.c')
-rw-r--r--drivers/power/s3c_adc_battery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/s3c_adc_battery.c b/drivers/power/s3c_adc_battery.c
index 4255f2358b1..d36c289aaef 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 = {