From: Chen-Yu Tsai Date: Wed, 12 Nov 2014 18:08:30 +0000 (+0800) Subject: clk: sunxi: Specify number of child clocks for divs clocks X-Git-Tag: omap-for-v3.19/fixes-rc1~9^2~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13d52f61065dcdbea13aae2f0aea6af43a3abf65;p=pandora-kernel.git clk: sunxi: Specify number of child clocks for divs clocks Currently sunxi_divs_clk_setup assumes the number of child clocks to be the same as the number of clock-output-names, and a maximum of SUNXI_DIVS_MAX_QTY child clocks. On sun6i, PLL6 only has 1 child clock, but the parent would be used as well, thereby also having it's own clock-output-names entry. This results in an extra bogus clock being registered. This patch adds an entry for the number of child clocks alongside the data structures for them. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- Reading git-diff-tree failed