From: Dinh Nguyen Date: Mon, 14 Apr 2014 12:59:32 +0000 (-0500) Subject: clk: socfpga: fix clock driver for 3.15 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~166^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a30d27ed739b2c6662f07c76e5deea7bc916bd12;p=pandora-kernel.git clk: socfpga: fix clock driver for 3.15 commit [1771b10d6 clk: respect the clock dependencies in of_clk_init] exposed a flaw in the socfpga clock driver and prevents the platform from booting on 3.15-rc1. Because the "altr,clk-mgr" is not really a clock, it should not be using CLK_OF_DECLARE, instead we should be mapping the clk-mgr's base address one of the functional clock init function. Use the socfpga_pll_init function to map the clk_mgr_base_addr as this clock should always be initialized first. Signed-off-by: Dinh Nguyen Tested-by: Pavel Machek --- Reading git-diff-tree failed