diff options
Diffstat (limited to 'drivers/rtc/rtc-vt8500.c')
-rw-r--r-- | drivers/rtc/rtc-vt8500.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-vt8500.c b/drivers/rtc/rtc-vt8500.c index fd1418750ac8..737addff7663 100644 --- a/drivers/rtc/rtc-vt8500.c +++ b/drivers/rtc/rtc-vt8500.c | |||
@@ -70,7 +70,7 @@ | |||
70 | | ALARM_SEC_BIT) | 70 | | ALARM_SEC_BIT) |
71 | 71 | ||
72 | #define VT8500_RTC_CR_ENABLE (1 << 0) /* Enable RTC */ | 72 | #define VT8500_RTC_CR_ENABLE (1 << 0) /* Enable RTC */ |
73 | #define VT8500_RTC_CR_24H (1 << 1) /* 24h time format */ | 73 | #define VT8500_RTC_CR_12H (1 << 1) /* 12h time format */ |
74 | #define VT8500_RTC_CR_SM_ENABLE (1 << 2) /* Enable periodic irqs */ | 74 | #define VT8500_RTC_CR_SM_ENABLE (1 << 2) /* Enable periodic irqs */ |
75 | #define VT8500_RTC_CR_SM_SEC (1 << 3) /* 0: 1Hz/60, 1: 1Hz */ | 75 | #define VT8500_RTC_CR_SM_SEC (1 << 3) /* 0: 1Hz/60, 1: 1Hz */ |
76 | #define VT8500_RTC_CR_CALIB (1 << 4) /* Enable calibration */ | 76 | #define VT8500_RTC_CR_CALIB (1 << 4) /* Enable calibration */ |
@@ -247,7 +247,7 @@ static int vt8500_rtc_probe(struct platform_device *pdev) | |||
247 | } | 247 | } |
248 | 248 | ||
249 | /* Enable RTC and set it to 24-hour mode */ | 249 | /* Enable RTC and set it to 24-hour mode */ |
250 | writel(VT8500_RTC_CR_ENABLE | VT8500_RTC_CR_24H, | 250 | writel(VT8500_RTC_CR_ENABLE, |
251 | vt8500_rtc->regbase + VT8500_RTC_CR); | 251 | vt8500_rtc->regbase + VT8500_RTC_CR); |
252 | 252 | ||
253 | vt8500_rtc->rtc = rtc_device_register("vt8500-rtc", &pdev->dev, | 253 | vt8500_rtc->rtc = rtc_device_register("vt8500-rtc", &pdev->dev, |