From: Andrew Morton Date: Thu, 8 Dec 2011 04:42:29 +0000 (+1100) Subject: drivers-rtc-rtc-mxcc-make-alarm-work-fix X-Git-Tag: next-20111213~1^2~86 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5669771485fa08ba4bcb506e7746cbb3ae9b4dd7;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 = {