]> Pileus Git - ~andy/linux/commit
clocksource: clksrc-of: Warn if no clock sources are found
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Nov 2013 08:58:56 +0000 (09:58 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 11 Dec 2013 10:40:25 +0000 (11:40 +0100)
commitfdca679d87bb4ac0fdc882dbf3deb47a1f58b813
treeaf0f0f0b2336f7f04fcb7df0b68e73520c6287cc
parent2e8bac532f8bcd3834853e0a22b130b9fd59270d
clocksource: clksrc-of: Warn if no clock sources are found

Many platforms rely on clocksource_of_init() being implicitly
called for registering clock sources and will get zero warnings
if no working clock source is available. Let's print a critical
error message if no clock source is found.

Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/clksrc-of.c