diff options
Diffstat (limited to 'arch/sh/kernel/cpu/clock.c')
| -rw-r--r-- | arch/sh/kernel/cpu/clock.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/kernel/cpu/clock.c b/arch/sh/kernel/cpu/clock.c index f5eb56e6bc5..b7e46d5bba4 100644 --- a/arch/sh/kernel/cpu/clock.c +++ b/arch/sh/kernel/cpu/clock.c @@ -294,9 +294,10 @@ arch_init_clk_ops(struct clk_ops **ops, int type)  {  } -void __init __attribute__ ((weak)) +int __init __attribute__ ((weak))  arch_clk_init(void)  { +	return 0;  }  static int show_clocks(char *buf, char **start, off_t off, @@ -331,7 +332,7 @@ int __init clk_init(void)  		ret |= clk_register(clk);  	} -	arch_clk_init(); +	ret |= arch_clk_init();  	/* Kick the child clocks.. */  	propagate_rate(&master_clk);  |