aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/h8300_timer8.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2015-11-09 09:02:38 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-12-15 09:42:04 +0100
commit8c09b7d6ba91ece6d10c7703f5cb201ff3265771 (patch)
treee952e113b049b499e34ac6d0dd7a8644f6d867ff /drivers/clocksource/h8300_timer8.c
parentclocksource/drivers/h8300: Cleanup startup and remove module code. (diff)
downloadlinux-dev-8c09b7d6ba91ece6d10c7703f5cb201ff3265771.tar.xz
linux-dev-8c09b7d6ba91ece6d10c7703f5cb201ff3265771.zip
clocksource/drivers/h8300_timer8: Fix compilation error with dev_warn
The dev_warn is using the platform driver which was removed in the previous patch. Let's replace dev_warn by pr_warn. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/h8300_timer8.c')
-rw-r--r--drivers/clocksource/h8300_timer8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/h8300_timer8.c b/drivers/clocksource/h8300_timer8.c
index f0680eb4f93d..35b0e8f98caf 100644
--- a/drivers/clocksource/h8300_timer8.c
+++ b/drivers/clocksource/h8300_timer8.c
@@ -98,7 +98,7 @@ static void timer8_set_next(struct timer8_priv *p, unsigned long delta)
raw_spin_lock_irqsave(&p->lock, flags);
if (delta >= 0x10000)
- dev_warn(&p->pdev->dev, "delta out of range\n");
+ pr_warn("delta out of range\n");
now = timer8_get_counter(p);
p->tcora = delta;
ctrl_outb(ctrl_inb(p->mapbase + _8TCR) | 0x40, p->mapbase + _8TCR);