Skip to content

Commit

Permalink
clocksource/drivers/h8300_timer8: Fix compilation error with dev_warn
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dlezcano committed Dec 15, 2015
1 parent 4633f4c commit 8c09b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clocksource/h8300_timer8.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8c09b7d

Please sign in to comment.