[WATCHDOG] rc32434_wdt.c: use resource_size()
commitbe088b139f5244b23ee931afb195eee236b7ff33
authorH Hartley Sweeten <hartleys@visionengravers.com>
Wed, 25 Nov 2009 02:06:26 +0000 (24 21:06 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 2 Dec 2009 10:10:27 +0000 (2 10:10 +0000)
treecc34038f63fb0acf2b6ee495e6228bff14ed04a3
parent2127816366e0ffbc1426fa69e7b9b2bebd2e2288
[WATCHDOG] rc32434_wdt.c: use resource_size()

The size value passed to ioremap_nocache() is not correct.
Use resource_size() to get the correct value.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/rc32434_wdt.c