[PATCH 02/12] clk: tegra: periph_clk_enb_refcnt as common infra

2013-09-18 Thread Peter De Schrijver
This patch makes periph_clk_enb_refcnt a global array, dynamically allocated at boottime. It simplifies the macros somewhat and allows clocks common to several Tegra SoCs to be defined in a separate files. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-periph.c |1 +

[PATCH 02/12] clk: tegra: periph_clk_enb_refcnt as common infra

2013-09-18 Thread Peter De Schrijver
This patch makes periph_clk_enb_refcnt a global array, dynamically allocated at boottime. It simplifies the macros somewhat and allows clocks common to several Tegra SoCs to be defined in a separate files. Signed-off-by: Peter De Schrijver pdeschrij...@nvidia.com ---