From 5669771485fa08ba4bcb506e7746cbb3ae9b4dd7 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 8 Dec 2011 15:42:29 +1100 Subject: [PATCH] drivers-rtc-rtc-mxcc-make-alarm-work-fix fix CONFIG_PM=n build Cc: Alessandro Zummo Cc: Daniel Mack Cc: Yauhen Kharuzhy Signed-off-by: Andrew Morton --- drivers/rtc/rtc-mxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index 67cb66c25b6f..5e1d64ee5228 100644 --- a/drivers/rtc/rtc-mxc.c +++ b/drivers/rtc/rtc-mxc.c @@ -466,12 +466,12 @@ static int mxc_rtc_resume(struct device *dev) return 0; } -#endif static struct dev_pm_ops mxc_rtc_pm_ops = { .suspend = mxc_rtc_suspend, .resume = mxc_rtc_resume, }; +#endif static struct platform_driver mxc_rtc_driver = { .driver = { -- 2.39.5