diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index 73688720857445ddb18096a90a80fc22f2f63499..cfdb380ec81ea9943c98a26411c18bfe4c0d3c18 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -1306,7 +1306,7 @@ static int mx3fb_unmap_video_memory(struct fb_info *fbi) dma_free_writecombine(fbi->device, fbi->fix.smem_len, fbi->screen_base, fbi->fix.smem_start); - fbi->screen_base = 0; + fbi->screen_base = NULL; mutex_lock(&fbi->mm_lock); fbi->fix.smem_start = 0; fbi->fix.smem_len = 0;