summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2014-09-17 20:47:56 +0200
committerMike Turquette <mturquette@linaro.org>2014-09-17 20:47:56 +0200
commita52ae5a755d980e9ff812c6f45a415ba27bfd33b (patch)
treea0a95f52e029aca5fb855fff2cb44661a80297ac /drivers/clk/at91
parentMerge branch 'clk-next-debugfs-lock' into clk-next (diff)
parentclk/efm32gg: fix dt init prototype (diff)
downloadlinux-a52ae5a755d980e9ff812c6f45a415ba27bfd33b.tar.xz
linux-a52ae5a755d980e9ff812c6f45a415ba27bfd33b.zip
Merge branch 'clk-fixes' into clk-next
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r--drivers/clk/at91/clk-slow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/clk-slow.c b/drivers/clk/at91/clk-slow.c
index 0300c46ee247..32f7c1b36204 100644
--- a/drivers/clk/at91/clk-slow.c
+++ b/drivers/clk/at91/clk-slow.c
@@ -447,7 +447,7 @@ void __init of_at91sam9260_clk_slow_setup(struct device_node *np,
int i;
num_parents = of_count_phandle_with_args(np, "clocks", "#clock-cells");
- if (num_parents <= 0 || num_parents > 1)
+ if (num_parents != 2)
return;
for (i = 0; i < num_parents; ++i) {