[PATCH 3/7] rtc: sa1100: use ioremap to map registers
Arnd Bergmann
arnd at arndb.de
Wed Feb 22 07:33:32 EST 2012
On Tuesday 21 February 2012, Haojian Zhuang wrote:
>
> Add resource definition of sa1100 rtc. And use ioremap to map rtc
> registers to avoid including address definition of rtc register.
> So the same driver could be shared on sa1100/pxa/mmp series.
>
> Since there's two RTC wrappers on RTC module among PXA27x/PXA3xx/PXA95x,
> keep treating the two wrappers as two RTC devices will result issues
> of registering platform device. So only keep one RTC wrapper in
> these silicons.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang at marvell.com>
I believe I reviewed this in the past and it looks good to me in its
present version, so
Reviewed-by: Arnd Bergmann <arnd at arndb.de>
More information about the linux-arm-kernel
mailing list