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: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
11bee5e19a
commit
e45310bfcd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue