summaryrefslogtreecommitdiff
path: root/hw/sm501.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/sm501.c
parent52d946208e9cc2e958b4d3ad18914a51bdbe197a (diff)
downloadqemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.tar.gz
qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.tar.bz2
qemu-b9d38e9510b38a8c101fa50cbd6f75d9eff61261.zip
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sm501.c')
-rw-r--r--hw/sm501.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sm501.c b/hw/sm501.c
index fc34a99f97..612a8e5c6d 100644
--- a/hw/sm501.c
+++ b/hw/sm501.c
@@ -1096,7 +1096,7 @@ void sm501_init(uint32_t base, uint32_t local_mem_bytes, qemu_irq irq,
/* bridge to serial emulation module */
if (chr)
serial_mm_init(base + MMIO_BASE_OFFSET + SM501_UART0, 2,
- 0, /* TODO : chain irq to IRL */
+ NULL, /* TODO : chain irq to IRL */
115200, chr, 1);
/* create qemu graphic console */