From f2d5b6c01d020351a9b326864f6a3ee69bcfeecf Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 16 Dec 2011 15:50:25 +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