|
@@ -1238,10 +1238,7 @@ static struct clk_lookup lookups[] = {
|
|
|
|
|
|
static int __init clk_init(void)
|
|
static int __init clk_init(void)
|
|
{
|
|
{
|
|
- int i;
|
|
|
|
-
|
|
|
|
- for (i = 0; i < ARRAY_SIZE(lookups); i++)
|
|
|
|
- clkdev_add(&lookups[i]);
|
|
|
|
|
|
+ clkdev_add_table(lookups, ARRAY_SIZE(lookups));
|
|
|
|
|
|
/*
|
|
/*
|
|
* Setup muxed SYSCLK for HCLK PLL base -this selects the
|
|
* Setup muxed SYSCLK for HCLK PLL base -this selects the
|