OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc822e5
)
watchdog: sc520_wdt: Remove unnecessary cast.
author
Sean Young
<sean@mess.org>
Tue, 23 Aug 2011 21:30:09 +0000
(22:30 +0100)
committer
Wim Van Sebroeck
<wim@iguana.be>
Sat, 5 Nov 2011 20:15:10 +0000
(21:15 +0100)
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sc520_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/sc520_wdt.c
b/drivers/watchdog/sc520_wdt.c
index
52b63f2
..
b284040
100644
(file)
--- a/
drivers/watchdog/sc520_wdt.c
+++ b/
drivers/watchdog/sc520_wdt.c
@@
-398,7
+398,7
@@
static int __init sc520_wdt_init(void)
WATCHDOG_TIMEOUT);
}
- wdtmrctl = ioremap(
(unsigned long)(MMCR_BASE + OFFS_WDTMRCTL)
, 2);
+ wdtmrctl = ioremap(
MMCR_BASE + OFFS_WDTMRCTL
, 2);
if (!wdtmrctl) {
printk(KERN_ERR PFX "Unable to remap memory\n");
rc = -ENOMEM;