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

@ -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 */