]> 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)
commit2d6f21b01c79e6be4d68f91dfab6590997fa5f21
tree98f3b8ce9acd98ff1170be51f1671058f41093d3
parent1700805890e527ad1a22425d1050c0fd9b808013
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