clk: socfpga: Silence sparse warning
[deliverable/linux.git] / drivers / clk / socfpga / clk-periph.c
index 46531c34ec9b5b58799c1c538c3f3ef103158502..83aeaa219d14e82800976e476fc24a72a0f032a9 100644 (file)
@@ -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);
This page took 0.023378 seconds and 5 git commands to generate.