projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3e31c
)
rtc: rtc-ds1553.c should use resource_size_t for base address
author
Atsushi Nemoto
<
[email protected]
>
Wed, 19 Sep 2007 05:46:30 +0000
(22:46 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 19 Sep 2007 18:24:17 +0000
(11:24 -0700)
Currently the rtc driver, rtc-ds1552.c uses an unsigned long to store the
base mmio address of the NVRAM/RTC. This breaks on 32-bit systems with
larger physical addresses.
Signed-off-by: Atsushi Nemoto <
[email protected]
>
Cc: David Brownell <
[email protected]
>
Cc: Alessandro Zummo <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rtc/rtc-ds1553.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-ds1553.c
b/drivers/rtc/rtc-ds1553.c
index 46da5714932c3e15f9607058a4855aeba02f6e3d..5ab3492817d16b0574202380b9ddb2a394042ba5 100644
(file)
--- a/
drivers/rtc/rtc-ds1553.c
+++ b/
drivers/rtc/rtc-ds1553.c
@@
-61,7
+61,7
@@
struct rtc_plat_data {
struct rtc_device *rtc;
void __iomem *ioaddr;
-
unsigned long
baseaddr;
+
resource_size_t
baseaddr;
unsigned long last_jiffies;
int irq;
unsigned int irqen;