From: Paul Walmsley Date: Tue, 8 Dec 2009 23:29:37 +0000 (-0700) Subject: OMAP1 clock: convert test in disable_unused() to use ENABLE_ON_INIT X-Git-Tag: v2.6.33-rc1~295^2~1^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f62b58dd4e697a23a308f5b77781394949d333e;p=pandora-kernel.git 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: Paul Walmsley --- Reading git-diff-tree failed