sh: clkfwk: Handle NULL clkops for root clocks.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 13 May 2009 08:03:09 +0000 (17:03 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 May 2009 08:03:09 +0000 (17:03 +0900)
commitd672fef02738582bdeae6e77176e141eeb9169bc
tree645861bd0eb459b2ab191653fb90ff12bda74883
parentaf777ce42d3d51cdef353ce296d6f99dc503feef
sh: clkfwk: Handle NULL clkops for root clocks.

root clocks may simply be placeholders for rate and ancestry information,
and have no real associated operations of their own. Account for this,
so we are still able to use these sorts of clocks for rate propagation.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock.c