Skip to content
Commit 6f62b58d authored by Paul Walmsley's avatar Paul Walmsley Committed by paul
Browse files

OMAP1 clock: convert test in disable_unused() to use ENABLE_ON_INIT



mach-omap1/clock.c:omap1_clk_disable_unused() contains a test that
assumes that the clock structures are available in the file's
namespace.  After a following patch, this will no longer be the case.
So we need to reimplement that test.  It turns out that we already
have a facility in the clock framework to handle this case - the
ENABLE_ON_INIT flag - used on OMAP2/3.  Remove the offending test and
mark the clocks that it was intended to catch as ENABLE_ON_INIT.

Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent d8a94458
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment