From: Paul Walmsley Date: Mon, 27 Aug 2007 08:39:22 +0000 (-0600) Subject: omap2 clock: generalize clock enable upon framework initialization X-Git-Tag: v2.6.23-omap1~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fa3c4514ea88754e855cc7b049d190a8005e52a;p=pandora-kernel.git omap2 clock: generalize clock enable upon framework initialization The OMAP2 clock framework enables a few clocks by hand upon initialization. OMAP3430 will have a different set of clocks to enable upon init. So, generalize this code by adding a new clock flag, ENABLE_ON_INIT, to mark clocks that should be enabled on init; and add a new framework-wide function, clk_enable_init_clocks(), that can be called from generalized init code. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed