Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e45310bf authored by Stephen Boyd's avatar Stephen Boyd
Browse files

clk: socfpga: Silence sparse warning



drivers/clk/socfpga/clk-periph.c:79:39: warning: Using plain integer as NULL pointer

Cc: Dinh Nguyen <dinguyen@altera.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 11bee5e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ static __init void __socfpga_periph_init(struct device_node *node,
		periph_clk->shift = div_reg[1];
		periph_clk->width = div_reg[2];
	} else {
		periph_clk->div_reg = 0;
		periph_clk->div_reg = NULL;
	}

	rc = of_property_read_u32(node, "fixed-divider", &fixed_div);