]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: of: Respect device tree node status
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Thu, 26 Sep 2013 00:08:17 +0000 (02:08 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 26 Sep 2013 00:30:16 +0000 (02:30 +0200)
commit4ecffa523a62501ed30234805931780e785fb9fa
tree98f3b8ce9acd98ff1170be51f1671058f41093d3
parente974c458109f3f39162cbbbc745bf43066155610
clocksource: of: Respect device tree node status

Clocksource devices provided by DT can be disabled (status != "okay").
Instead of registering clocksource drivers for disabled nodes, respect
the device's status by skiping disabled nodes.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/clksrc-of.c