]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm/mach-davinci/devices-da8xx.c
ARM: davinci: remove rtc kicker release
[linux-beck.git] / arch / arm / mach-davinci / devices-da8xx.c
index fcdbe437409e3a5141b5b7231a143fecf7c933a4..2d5502d84a223aaf9b0a05ccb80d284393c9a815 100644 (file)
@@ -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,
@@ -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)