From: Paul Walmsley Date: Thu, 27 Sep 2007 06:11:21 +0000 (-0600) Subject: omap2 clock: split out OMAP2/3 common defines, clksel rates X-Git-Tag: v2.6.23-omap1~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=926865d2354fbada3c07a66f80b45309188cceb5;p=pandora-kernel.git omap2 clock: split out OMAP2/3 common defines, clksel rates This patch is a collection of minor clock code changes in preparation for the OMAP3 clock merge. Specifically: * Since general-purpose timer and GFX module L3 clksel rates are common to OMAP2/3, hoist those into asm/arch/clock.h. * Since the CM_FCLKEN define is common to OMAP2/3, remove the OMAP24XX_ prefix. * Designate the clock transaction code in clock.c as being OMAP2-specific. * Fix a potential null pointer dereference that could occur when debugging is enabled in omap2_init_clksel_parent(). Clocks with no initially-defined parent (as is possible for clksel clocks) will trigger an oops due to a buggy conditional. * Clean up omap2_wait_clock_ready(). * Remove unused struct dpll_params auto_idle* fields. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed