提交 cef153a8 编写于 作者: S Sean Young 提交者: Wim Van Sebroeck

watchdog: sc520_wdt: Remove unnecessary cast.

Signed-off-by: NSean Young <sean@mess.org>
Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
上级 dc822e57
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册