s3c_adc_battery: Fix method names when PM not set

A patch from »s3c_adc_battery: Fix method names when PM not set« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 14 Mar 2011 20:12:39 +0000 (+0100)

Commit-Message

s3c_adc_battery declares wrong method names when CONFIG_PM is not set. Signed-off-by: Heiko Stuebner <heiko@...> Acked-by: Vasily Khoruzhick <anarsoul@...> Signed-off-by: Anton Vorontsov <cbouatmailru@...>

Patch-Comment

Statistics

  • 2 lines added
  • 2 lines removed

Changes

----------------------- drivers/power/s3c_adc_battery.c ------------------------
index 4255f23..d36c289 100644
@@ -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 = {
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...