summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-prima2.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-04-11 03:38:03 -0700
committerOlof Johansson <olof@lixom.net>2013-04-11 03:38:03 -0700
commit83c15f4c05757b3c5fe1551a474458fd16d27bae (patch)
treec9631bf611794e15a0afc3fb0673e7e494ca94d0 /drivers/clk/clk-prima2.c
parentd6e911b599517d3faaa53e125b174a318b33aca9 (diff)
parent918d7f6f68620e0721bb31402ebf87e15f826831 (diff)
downloadtalos-op-linux-83c15f4c05757b3c5fe1551a474458fd16d27bae.tar.gz
talos-op-linux-83c15f4c05757b3c5fe1551a474458fd16d27bae.zip
Merge branch 'depends/clk-for-3.10' into next/cleanup
Bringin in clk subsystem dependencies needed by sunxi. * depends/clk-for-3.10: (26 commits) clk: sunxi: drop an unnecesary kmalloc clk: sunxi: drop CLK_IGNORE_UNUSED clk: sunxi: Add support for AXI, AHB, APB0 and APB1 gates clk: divider: Introduce CLK_DIVIDER_ALLOW_ZERO flag clk: mvebu: Use common of_clk_init() function clk: fix clk_mux::flags kerneldoc clk: allow reentrant calls into the clk framework clk: abstract locking out into helper functions clk: zynq: Add missing zynq clk header clk: sunxi: rename compatible strings arm: sunxi: Add useful information about sunxi clocks clk: arm: sunxi: Add a new clock driver for sunxi SOCs clk: ux500: Fix prcmu clocks registration ARM: imx: adapt clk_busy_mux to new clk_mux struct clk: Add composite clock type clk: add table lookup to mux clk: Fix incorrect return type in clk.c clk: prima2: fix return value check in sirfsoc_of_clk_init() clk:SPEAr1340: Correct parent clock configuration documentation: clk: fix couple of misspelling ...
Diffstat (limited to 'drivers/clk/clk-prima2.c')
-rw-r--r--drivers/clk/clk-prima2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-prima2.c b/drivers/clk/clk-prima2.c
index f8e9d0c27be2..643ca653fef0 100644
--- a/drivers/clk/clk-prima2.c
+++ b/drivers/clk/clk-prima2.c
@@ -1113,7 +1113,7 @@ void __init sirfsoc_of_clk_init(void)
for (i = pll1; i < maxclk; i++) {
prima2_clks[i] = clk_register(NULL, prima2_clk_hw_array[i]);
- BUG_ON(!prima2_clks[i]);
+ BUG_ON(IS_ERR(prima2_clks[i]));
}
clk_register_clkdev(prima2_clks[cpu], NULL, "cpu");
clk_register_clkdev(prima2_clks[io], NULL, "io");
OpenPOWER on IntegriCloud