rtc-m48t59: allow externally mapped ioaddr
commit64151ad5b3a03e236390d6d5160805ee4f4e7c67
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Wed, 3 Sep 2008 22:41:57 +0000 (3 15:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Sep 2008 22:41:57 +0000 (3 15:41 -0700)
treefc47e478fd05dd84b7f0b3c5a019a3326ac8a880
parent94fe7424a4c21940b4569200faaf0a0a5efd2924
rtc-m48t59: allow externally mapped ioaddr

Add support for externally mapped ioaddr.  This is required on sparc32
as the ioaddr must be mapped with of_ioremap().

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/rtc/rtc-m48t59.c
include/linux/rtc/m48t59.h