rtc-ds1742: fix races around device registration
[safe/jmp/linux-2.6] / drivers / rtc / rtc-sh.c
index e6ed540..e95cc6f 100644 (file)
@@ -826,7 +826,7 @@ static int sh_rtc_resume(struct device *dev)
        return 0;
 }
 
-static struct dev_pm_ops sh_rtc_dev_pm_ops = {
+static const struct dev_pm_ops sh_rtc_dev_pm_ops = {
        .suspend = sh_rtc_suspend,
        .resume = sh_rtc_resume,
 };