[xburst] rtc-jz4740: Free rtc irq when driver is removed
[openwrt-10.03/.git] / target / linux / xburst / files-2.6.32 / arch / mips / jz4740 / platform.c
index 4e379294a5804716ed89d5f338e1104276edf2c2..ec34ea2571d2a87ad16386910bcd72c6d21f34bc 100644 (file)
@@ -108,7 +108,7 @@ struct platform_device jz4740_mmc_device = {
 static struct resource jz4740_rtc_resources[] = {
        [0] = {
                .start  = CPHYSADDR(RTC_BASE),
-               .end    = CPHYSADDR(RTC_BASE) + 0x10,
+               .end    = CPHYSADDR(RTC_BASE) + 0x38 - 1,
                .flags  = IORESOURCE_MEM,
        },
        [1] = {