Skip to content

Commit

Permalink
clk: rockchip: fix function type for CLK_OF_DECLARE
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Mike Turquette <[email protected]>
  • Loading branch information
robherring committed May 20, 2014
1 parent 25585da commit 5c46f43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/clk/rockchip/clk-rockchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5c46f43

Please sign in to comment.