]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers-rtc-rtc-mxcc-make-alarm-work-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 16 Dec 2011 04:50:25 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Dec 2011 06:01:36 +0000 (17:01 +1100)
fix CONFIG_PM=n build

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Yauhen Kharuzhy <jekhor@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-mxc.c

index 67cb66c25b6f64b470dc26d59ac56a42491545e9..5e1d64ee52289b9e7a47990f8c7de0b41c7fccaf 100644 (file)
@@ -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 = {