From: Richard Zhao Date: Thu, 7 Jul 2011 07:42:40 +0000 (+0800) Subject: ENGR00152773 imx6: clk: *_axi_clk get_rate should be NULL X-Git-Tag: v3.0.35-fsl~2294 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7fe3308d6d15994f83a87823fb46ebdcb246cdd9;p=karo-tx-linux.git ENGR00152773 imx6: clk: *_axi_clk get_rate should be NULL Clocks that can not change rate should set get_rate to NULL. Signed-off-by: Richard Zhao --- diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index 895dd9f3b56d..db20143d7e21 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -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 = {