Commit cef153a8 authored by Sean Young's avatar Sean Young Committed by Wim Van Sebroeck

watchdog: sc520_wdt: Remove unnecessary cast.

Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent dc822e57
...@@ -398,7 +398,7 @@ static int __init sc520_wdt_init(void) ...@@ -398,7 +398,7 @@ static int __init sc520_wdt_init(void)
WATCHDOG_TIMEOUT); WATCHDOG_TIMEOUT);
} }
wdtmrctl = ioremap((unsigned long)(MMCR_BASE + OFFS_WDTMRCTL), 2); wdtmrctl = ioremap(MMCR_BASE + OFFS_WDTMRCTL, 2);
if (!wdtmrctl) { if (!wdtmrctl) {
printk(KERN_ERR PFX "Unable to remap memory\n"); printk(KERN_ERR PFX "Unable to remap memory\n");
rc = -ENOMEM; rc = -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment