diff options
-rw-r--r-- | drivers/watchdog/iTCO_wdt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index 741528b032e2..bc47e9012f37 100644 --- a/drivers/watchdog/iTCO_wdt.c +++ b/drivers/watchdog/iTCO_wdt.c | |||
@@ -575,7 +575,7 @@ static int __devinit iTCO_wdt_probe(struct platform_device *dev) | |||
575 | if (!request_region(iTCO_wdt_private.smi_res->start, | 575 | if (!request_region(iTCO_wdt_private.smi_res->start, |
576 | resource_size(iTCO_wdt_private.smi_res), dev->name)) { | 576 | resource_size(iTCO_wdt_private.smi_res), dev->name)) { |
577 | pr_err("I/O address 0x%04llx already in use, device disabled\n", | 577 | pr_err("I/O address 0x%04llx already in use, device disabled\n", |
578 | SMI_EN); | 578 | (u64)SMI_EN); |
579 | ret = -EBUSY; | 579 | ret = -EBUSY; |
580 | goto unmap_gcs; | 580 | goto unmap_gcs; |
581 | } | 581 | } |
@@ -592,13 +592,13 @@ static int __devinit iTCO_wdt_probe(struct platform_device *dev) | |||
592 | if (!request_region(iTCO_wdt_private.tco_res->start, | 592 | if (!request_region(iTCO_wdt_private.tco_res->start, |
593 | resource_size(iTCO_wdt_private.tco_res), dev->name)) { | 593 | resource_size(iTCO_wdt_private.tco_res), dev->name)) { |
594 | pr_err("I/O address 0x%04llx already in use, device disabled\n", | 594 | pr_err("I/O address 0x%04llx already in use, device disabled\n", |
595 | TCOBASE); | 595 | (u64)TCOBASE); |
596 | ret = -EBUSY; | 596 | ret = -EBUSY; |
597 | goto unreg_smi; | 597 | goto unreg_smi; |
598 | } | 598 | } |
599 | 599 | ||
600 | pr_info("Found a %s TCO device (Version=%d, TCOBASE=0x%04llx)\n", | 600 | pr_info("Found a %s TCO device (Version=%d, TCOBASE=0x%04llx)\n", |
601 | ich_info->name, ich_info->iTCO_version, TCOBASE); | 601 | ich_info->name, ich_info->iTCO_version, (u64)TCOBASE); |
602 | 602 | ||
603 | /* Clear out the (probably old) status */ | 603 | /* Clear out the (probably old) status */ |
604 | outw(0x0008, TCO1_STS); /* Clear the Time Out Status bit */ | 604 | outw(0x0008, TCO1_STS); /* Clear the Time Out Status bit */ |