From: Andrew Morton Date: Fri, 16 Dec 2011 04:50:25 +0000 (+1100) Subject: drivers-rtc-rtc-mxcc-make-alarm-work-fix X-Git-Tag: next-20111219~1^2~81 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f2d5b6c01d020351a9b326864f6a3ee69bcfeecf;p=karo-tx-linux.git 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 --- 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 = {