projects
/
cascardo
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbc916
)
s3c_adc_battery: Fix method names when PM not set
author
Heiko Stuebner
<heiko@sntech.de>
Mon, 14 Mar 2011 20:12:39 +0000
(21:12 +0100)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Wed, 16 Mar 2011 13:39:26 +0000
(16:39 +0300)
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>
drivers/power/s3c_adc_battery.c
patch
|
blob
|
history
diff --git
a/drivers/power/s3c_adc_battery.c
b/drivers/power/s3c_adc_battery.c
index
4255f23
..
d36c289
100644
(file)
--- 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_bat
tery
_suspend NULL
-#define s3c_adc_bat
tery
_resume NULL
+#define s3c_adc_bat_suspend NULL
+#define s3c_adc_bat_resume NULL
#endif
static struct platform_driver s3c_adc_bat_driver = {