]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
use clk_set_parent() instead of calling the set_parent() function via
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 15 May 2012 14:46:31 +0000 (16:46 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 15 May 2012 14:46:31 +0000 (16:46 +0200)
its function pointer to make sure the clk->parent pointer is correctly
set by the clk framework.

arch/arm/mach-imx/clock-mx51-mx53.c

index a8059ae342df8b2188fa7de14ee3e7469f8011db..c64303c7e6a10241c9fa89f879dfb026691ecae4 100644 (file)
@@ -1829,7 +1829,7 @@ static void clk_tree_init(void)
 {
        u32 reg;
 
-       ipg_perclk.set_parent(&ipg_perclk, &lp_apm_clk);
+       clk_set_parent(&ipg_perclk, &lp_apm_clk);
 
        /*
         * Initialise the IPG PER CLK dividers to 3. IPG_PER_CLK should be at