2
0
forked from Ivasoft/openwrt

rtc-jz4740: Free rtc irq when driver is removed

SVN-Revision: 19489
This commit is contained in:
Lars-Peter Clausen
2010-02-01 13:50:12 +00:00
parent 7ad9c8615f
commit 9a201dcd10
2 changed files with 4 additions and 3 deletions

View 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] = {