Skip to content

Commit

Permalink
watchdog: sc520_wdt: Remove unnecessary cast.
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
seanyoung authored and Wim Van Sebroeck committed Nov 5, 2011
1 parent dc822e5 commit cef153a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/sc520_wdt.c
Expand Up @@ -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;
Expand Down

0 comments on commit cef153a

Please sign in to comment.