/* This call does not setup the clocks, which is left to the s3c6400_setup_clocks() call which may be needed by the cpufreq or resume code to re-set the clocks if the bootloader has changed them.  */
void __init s3c6400_register_clocks(unsigned armclk_divlimit)
/* This call does not setup the clocks, which is left to the s3c6400_setup_clocks() call which may be needed by the cpufreq or resume code to re-set the clocks if the bootloader has changed them.  */
void __init s3c6400_register_clocks(unsigned armclk_divlimit)
{
	struct clk *clkp;
	int ret;
	int ptr;
	armclk_mask = armclk_divlimit;
	for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) {
		clkp = clks[ptr];
		ret = s3c24xx_register_clock(clkp);
		if (ret < 0) {
			printk(KERN_ERR "Failed to register clock %s (%d)\n",
			       clkp->name, ret);
		}
	}
}