Skip to content

Commit

Permalink
s3c_adc_battery: Fix method names when PM not set
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Stuebner authored and Anton Vorontsov committed Mar 16, 2011
1 parent dcbc916 commit f8d878d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/power/s3c_adc_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit f8d878d

Please sign in to comment.