rtc: sa1100: declare irq in resource
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Tue, 21 Feb 2012 03:51:13 +0000 (11:51 +0800)
committerHaojian Zhuang <haojian.zhuang@marvell.com>
Tue, 28 Feb 2012 02:07:50 +0000 (10:07 +0800)
commit3888c09074db2ca561c74571dcbd777949a856b8
tree5aa1919517a274176dd13b4030141eba9df68a3c
parent1d8c38c3d1b48eeb9cfaa42a8be13a1423569eb2
rtc: sa1100: declare irq in resource

Avoid to hard coded irq in rtc-sa1100 driver since we could share
it among arch-sa1100/arch-pxa/arch-mmp.

We still keep hard coded register address since the requirement is
enabling both rtc-sa1100 and rtc-pxa driver. The register addresses
are conflict since they're only two wrappers on the same rtc device.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/devices.c
arch/arm/mach-sa1100/generic.c
drivers/rtc/Kconfig
drivers/rtc/rtc-sa1100.c