diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2013-04-09 17:09:35 +0200 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-09 17:09:35 +0200 |
| commit | 5790c58b133913f92fd737c03efce9db7a1d2d4d (patch) | |
| tree | deef8f070b4de7fcff62d496d09842ff91ed83d0 /drivers/clk/clk-prima2.c | |
| parent | 1194b152cd4eff475652785ce366b20afe82dfcf (diff) | |
| parent | 533ddeb1e86f506129ee388a6cc13796dcf31311 (diff) | |
| download | olio-linux-3.10-5790c58b133913f92fd737c03efce9db7a1d2d4d.tar.xz olio-linux-3.10-5790c58b133913f92fd737c03efce9db7a1d2d4d.zip | |
Merge branch 'depends/clk' into next/drivers
This is a snapshot of the stable clk branch at
git://git.linaro.org/people/mturquette/linux.git clk-for-3.10
which is a dependency for the tegra clock changes.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/clk/clk-prima2.c')
| -rw-r--r-- | drivers/clk/clk-prima2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-prima2.c b/drivers/clk/clk-prima2.c index f8e9d0c27be..643ca653fef 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"); |