rtc: rtc-ds1553.c should use resource_size_t for base address
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 19 Sep 2007 05:46:30 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 19 Sep 2007 18:24:17 +0000 (11:24 -0700)
commit49cc886aea1d79cdb0ea409554866238b07fe26f
tree57803e3b7650f9d7af6195b6dc73540045008786
parent2e3e31c05798786c131bf257f64848d4a9a894ab
rtc: rtc-ds1553.c should use resource_size_t for base address

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 <anemo@mba.ocn.ne.jp>
Cc: David Brownell <david-b@pacbell.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds1553.c