Fix Sparse warnings about using plain integer as NULL pointer

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-09-21 18:11:34 +00:00
parent 52d946208e
commit b9d38e9510
16 changed files with 43 additions and 43 deletions

View file

@ -1086,7 +1086,7 @@ static struct clk *onchip_clks[] = {
&dss_l4_iclk,
&omapctrl_clk,
0
NULL
};
void omap_clk_adduser(struct clk *clk, qemu_irq user)
@ -1184,7 +1184,7 @@ void omap_clk_reparent(struct clk *clk, struct clk *parent)
omap_clk_update(clk);
omap_clk_rate_update(clk);
} else
clk->sibling = 0;
clk->sibling = NULL;
}
void omap_clk_onoff(struct clk *clk, int on)