mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
52d946208e
commit
b9d38e9510
16 changed files with 43 additions and 43 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue