From: Sebastian Hesselbarth Date: Wed, 1 May 2013 00:58:28 +0000 (+0200) Subject: clk: add non CONFIG_OF routines for clk-provider X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~27^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b151debc31df089ddc07a3343031d8f51f988a3;p=pandora-kernel.git clk: add non CONFIG_OF routines for clk-provider Some drivers that are shared between architectures have HAVE_CLK selected but don't have OF. To remove compilation errors for drivers that provide clocks on DT with of_clk_add_provider we would have to enclose these calls within #ifdef CONFIG_OF, #endif. This patch adds some stubs for OF related clk-provider functions that either do nothing or return appropriate values if CONFIG_OF is not set. So, definition of these routines will always be available. Signed-off-by: Sebastian Hesselbarth Acked-by: Arnd Bergmann Signed-off-by: Mike Turquette --- Reading git-diff-tree failed