diff options
author | Robert Richter <robert.richter@amd.com> | 2010-06-04 11:33:10 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2010-06-04 11:33:10 +0200 |
commit | d8a382d2662822248a97ce9d670b90e68aefbd3a (patch) | |
tree | 4f5bbd5d0a5881ed42de611402ea4ac2c6d6ff48 /arch/sh/kernel/cpu/hwblk.c | |
parent | 45c34e05c4e3d36e7c44e790241ea11a1d90d54e (diff) | |
parent | c6df8d5ab87a246942d138321e1721edbb69f6e1 (diff) | |
download | linux-d8a382d2662822248a97ce9d670b90e68aefbd3a.tar.gz |
Merge remote branch 'tip/perf/urgent' into oprofile/urgent
Diffstat (limited to 'arch/sh/kernel/cpu/hwblk.c')
-rw-r--r-- | arch/sh/kernel/cpu/hwblk.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/hwblk.c b/arch/sh/kernel/cpu/hwblk.c index 67a1e811cfe8..3e985aae5d91 100644 --- a/arch/sh/kernel/cpu/hwblk.c +++ b/arch/sh/kernel/cpu/hwblk.c @@ -146,6 +146,11 @@ int __init sh_hwblk_clk_register(struct clk *clks, int nr) for (k = 0; !ret && (k < nr); k++) { clkp = clks + k; + + /* skip over clocks using hwblk 0 (HWBLK_UNKNOWN) */ + if (!clkp->arch_flags) + continue; + clkp->ops = &sh_hwblk_clk_ops; ret |= clk_register(clkp); } |