]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00152773 imx6: clk: *_axi_clk get_rate should be NULL
authorRichard Zhao <richard.zhao@freescale.com>
Thu, 7 Jul 2011 07:42:40 +0000 (15:42 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:32:56 +0000 (08:32 +0200)
Clocks that can not change rate should set get_rate to NULL.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
arch/arm/mach-mx6/clock.c

index 895dd9f3b56d55e86e2d4f9367bd3e50ab7da538..db20143d7e212352b5cdf9ae6dd60dcfdfc517ad 100644 (file)
@@ -1257,7 +1257,6 @@ static struct clk gpu2d_axi_clk = {
        __INIT_CLK_DEBUG(gpu2d_axi_clk)
        .parent = &axi_clk,
        .set_parent = _clk_gpu2d_axi_set_parent,
-       .get_rate = _clk_axi_get_rate,
 };
 
 static int _clk_gpu3d_axi_set_parent(struct clk *clk, struct clk *parent)
@@ -1276,7 +1275,6 @@ static struct clk gpu3d_axi_clk = {
        __INIT_CLK_DEBUG(gpu3d_axi_clk)
        .parent = &axi_clk,
        .set_parent = _clk_gpu3d_axi_set_parent,
-       .get_rate = _clk_axi_get_rate,
 };
 
 static int _clk_pcie_axi_set_parent(struct clk *clk, struct clk *parent)
@@ -1295,7 +1293,6 @@ static struct clk pcie_axi_clk = {
        __INIT_CLK_DEBUG(pcie_axi_clk)
        .parent = &axi_clk,
        .set_parent = _clk_pcie_axi_set_parent,
-       .get_rate = _clk_axi_get_rate,
 };
 
 static int _clk_vdo_axi_set_parent(struct clk *clk, struct clk *parent)
@@ -1318,7 +1315,6 @@ static struct clk vdo_axi_clk = {
        .enable = _clk_enable,
        .disable = _clk_disable,
        .set_parent = _clk_vdo_axi_set_parent,
-       .get_rate = _clk_axi_get_rate,
 };
 
 static struct clk vdoa_clk = {