diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-09-03 18:41:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-03 18:41:57 -0400 |
commit | 64151ad5b3a03e236390d6d5160805ee4f4e7c67 (patch) | |
tree | fc47e478fd05dd84b7f0b3c5a019a3326ac8a880 /include | |
parent | 94fe7424a4c21940b4569200faaf0a0a5efd2924 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rtc/m48t59.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/rtc/m48t59.h b/include/linux/rtc/m48t59.h index 41798505d157..6fc961459b4a 100644 --- a/include/linux/rtc/m48t59.h +++ b/include/linux/rtc/m48t59.h | |||
@@ -55,6 +55,8 @@ struct m48t59_plat_data { | |||
55 | 55 | ||
56 | int type; /* RTC model */ | 56 | int type; /* RTC model */ |
57 | 57 | ||
58 | /* ioaddr mapped externally */ | ||
59 | void __iomem *ioaddr; | ||
58 | /* offset to RTC registers, automatically set according to the type */ | 60 | /* offset to RTC registers, automatically set according to the type */ |
59 | unsigned int offset; | 61 | unsigned int offset; |
60 | }; | 62 | }; |