summaryrefslogtreecommitdiffstats
path: root/drivers/clk/rockchip
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2014-05-12 11:22:25 -0500
committerRob Herring <robh@kernel.org>2014-05-20 14:25:22 -0500
commit5c46f43f08004d6d25772c9b6e24fa048c8c3efc (patch)
tree797694b7117ec2524ddf445e12b5dd384367c257 /drivers/clk/rockchip
parent25585daaa03c790ec86e397e2fc188f56d4deaa9 (diff)
downloadlinux-0-day-5c46f43f08004d6d25772c9b6e24fa048c8c3efc.tar.gz
linux-0-day-5c46f43f08004d6d25772c9b6e24fa048c8c3efc.tar.xz
clk: rockchip: fix function type for CLK_OF_DECLARE
Adding function type checking to CLK_OF_DECLARE found a type mismatch with rk2928_gate_clk_init. The function only takes a single struct device_node parameter. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/rockchip')
-rw-r--r--drivers/clk/rockchip/clk-rockchip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/rockchip/clk-rockchip.c b/drivers/clk/rockchip/clk-rockchip.c
index 967c141b1a205..4cf838d52ef67 100644
--- a/drivers/clk/rockchip/clk-rockchip.c
+++ b/drivers/clk/rockchip/clk-rockchip.c
@@ -24,8 +24,7 @@ static DEFINE_SPINLOCK(clk_lock);
* Gate clocks
*/
-static void __init rk2928_gate_clk_init(struct device_node *node,
- void *data)
+static void __init rk2928_gate_clk_init(struct device_node *node)
{
struct clk_onecell_data *clk_data;
const char *clk_parent;