Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346428
b: refs/heads/master
c: 852168c
h: refs/heads/master
v: v3
  • Loading branch information
Afzal Mohammed authored and Linus Torvalds committed Dec 18, 2012
1 parent ae4f2b8 commit 07cb6b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 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: cab1458c8c4fdfc993e86454eef785bc39517dd8
refs/heads/master: 852168c92322d3b28de01514dccf25945be92b0b
13 changes: 1 addition & 12 deletions trunk/arch/arm/mach-davinci/devices-da8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ static struct resource da8xx_rtc_resources[] = {
};

static struct platform_device da8xx_rtc_device = {
.name = "omap_rtc",
.name = "da830-rtc",
.id = -1,
.num_resources = ARRAY_SIZE(da8xx_rtc_resources),
.resource = da8xx_rtc_resources,
Expand All @@ -734,17 +734,6 @@ static struct platform_device da8xx_rtc_device = {
int da8xx_register_rtc(void)
{
int ret;
void __iomem *base;

base = ioremap(DA8XX_RTC_BASE, SZ_4K);
if (WARN_ON(!base))
return -ENOMEM;

/* Unlock the rtc's registers */
__raw_writel(0x83e70b13, base + 0x6c);
__raw_writel(0x95a4f1e0, base + 0x70);

iounmap(base);

ret = platform_device_register(&da8xx_rtc_device);
if (!ret)
Expand Down

0 comments on commit 07cb6b7

Please sign in to comment.