Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348297
b: refs/heads/master
c: 532db57
h: refs/heads/master
i:
  348295: 191c49a
v: v3
  • Loading branch information
Tony Prisk authored and Linus Torvalds committed Jan 5, 2013
1 parent 7893095 commit a2e7d3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc59ed38653f3473802ea6191ef91fbb6d06a0f6
refs/heads/master: 532db570e5181abc8f4f7bfa6c77c69ec2240198
4 changes: 2 additions & 2 deletions trunk/drivers/rtc/rtc-vt8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
| ALARM_SEC_BIT)

#define VT8500_RTC_CR_ENABLE (1 << 0) /* Enable RTC */
#define VT8500_RTC_CR_24H (1 << 1) /* 24h time format */
#define VT8500_RTC_CR_12H (1 << 1) /* 12h time format */
#define VT8500_RTC_CR_SM_ENABLE (1 << 2) /* Enable periodic irqs */
#define VT8500_RTC_CR_SM_SEC (1 << 3) /* 0: 1Hz/60, 1: 1Hz */
#define VT8500_RTC_CR_CALIB (1 << 4) /* Enable calibration */
Expand Down Expand Up @@ -247,7 +247,7 @@ static int vt8500_rtc_probe(struct platform_device *pdev)
}

/* Enable RTC and set it to 24-hour mode */
writel(VT8500_RTC_CR_ENABLE | VT8500_RTC_CR_24H,
writel(VT8500_RTC_CR_ENABLE,
vt8500_rtc->regbase + VT8500_RTC_CR);

vt8500_rtc->rtc = rtc_device_register("vt8500-rtc", &pdev->dev,
Expand Down

0 comments on commit a2e7d3c

Please sign in to comment.