From b9d38e9510b38a8c101fa50cbd6f75d9eff61261 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Mon, 21 Sep 2009 18:11:34 +0000 Subject: Fix Sparse warnings about using plain integer as NULL pointer Signed-off-by: Blue Swirl --- hw/omap_lcdc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hw/omap_lcdc.c') diff --git a/hw/omap_lcdc.c b/hw/omap_lcdc.c index c0651938c5..6affef67b9 100644 --- a/hw/omap_lcdc.c +++ b/hw/omap_lcdc.c @@ -80,31 +80,31 @@ static void omap_lcd_interrupts(struct omap_lcd_panel_s *s) #include "omap_lcd_template.h" static draw_line_func draw_line_table2[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line2_8, [15] = draw_line2_15, [16] = draw_line2_16, [32] = draw_line2_32, }, draw_line_table4[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line4_8, [15] = draw_line4_15, [16] = draw_line4_16, [32] = draw_line4_32, }, draw_line_table8[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line8_8, [15] = draw_line8_15, [16] = draw_line8_16, [32] = draw_line8_32, }, draw_line_table12[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line12_8, [15] = draw_line12_15, [16] = draw_line12_16, [32] = draw_line12_32, }, draw_line_table16[33] = { - [0 ... 32] = 0, + [0 ... 32] = NULL, [8] = draw_line16_8, [15] = draw_line16_15, [16] = draw_line16_16, -- cgit v1.2.3-55-g7522