aboutsummaryrefslogtreecommitdiff
path: root/hw/pxa2xx_template.h
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/pxa2xx_template.h
parent52d946208e9cc2e958b4d3ad18914a51bdbe197a (diff)
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pxa2xx_template.h')
-rw-r--r--hw/pxa2xx_template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pxa2xx_template.h b/hw/pxa2xx_template.h
index 40f4e4d219..1cbe36cb80 100644
--- a/hw/pxa2xx_template.h
+++ b/hw/pxa2xx_template.h
@@ -403,7 +403,7 @@ static void glue(pxa2xx_draw_line25_, BITS)(void *opaque,
/* Overlay planes disabled, no transparency */
static drawfn glue(pxa2xx_draw_fn_, BITS)[16] =
{
- [0 ... 0xf] = 0,
+ [0 ... 0xf] = NULL,
[pxa_lcdc_2bpp] = glue(pxa2xx_draw_line2_, BITS),
[pxa_lcdc_4bpp] = glue(pxa2xx_draw_line4_, BITS),
[pxa_lcdc_8bpp] = glue(pxa2xx_draw_line8_, BITS),
@@ -416,7 +416,7 @@ static drawfn glue(pxa2xx_draw_fn_, BITS)[16] =
/* Overlay planes enabled, transparency used */
static drawfn glue(glue(pxa2xx_draw_fn_, BITS), t)[16] =
{
- [0 ... 0xf] = 0,
+ [0 ... 0xf] = NULL,
[pxa_lcdc_4bpp] = glue(pxa2xx_draw_line4_, BITS),
[pxa_lcdc_8bpp] = glue(pxa2xx_draw_line8_, BITS),
[pxa_lcdc_16bpp] = glue(pxa2xx_draw_line16t_, BITS),