aboutsummaryrefslogtreecommitdiff
path: root/hw/omap_clk.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-21 18:11:34 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-21 18:11:34 +0000
commitb9d38e9510b38a8c101fa50cbd6f75d9eff61261 (patch)
treec267953d3408328a7d262b95a9fb95641e285525 /hw/omap_clk.c
parent52d946208e9cc2e958b4d3ad18914a51bdbe197a (diff)
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/omap_clk.c')
-rw-r--r--hw/omap_clk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/omap_clk.c b/hw/omap_clk.c
index a2da17fc12..6bcabef8ac 100644
--- a/hw/omap_clk.c
+++ b/hw/omap_clk.c
@@ -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)