From: Dinh Nguyen Date: Fri, 13 Dec 2013 22:38:28 +0000 (-0600) Subject: clk: socfpga: Look for the GPIO_DB_CLK by its offset X-Git-Tag: v3.15-rc1~72^2~59^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7cec13f082fcc6e690559657d3f5493ea6eecb7;p=pandora-kernel.git clk: socfpga: Look for the GPIO_DB_CLK by its offset After the patch: "clk: socfpga: Map the clk manager base address in the clock driver" The clk->name field in socfpga_clk_recalc_rate() was getting cleared. Replace looking for the GPIO_DB_CLK by its divider offset instead. Also rename the define SOCFPGA_DB_CLK_OFFSET -> SOCFPGA_GPIO_DB_CLK_OFFSET, as this represents the GPIO_DB_CLK. Signed-off-by: Dinh Nguyen --- Reading git-diff-tree failed