Message ID | 20100510112326.14587.52488.sendpatchset@t400s (mailing list archive) |
---|---|
State | RFC |
Headers | show |
--- 0001/arch/sh/kernel/cpu/hwblk.c +++ work/arch/sh/kernel/cpu/hwblk.c 2010-05-10 18:28:11.000000000 +0900 @@ -146,6 +146,11 @@ int __init sh_hwblk_clk_register(struct 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); }