summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbcon-mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbcon-mac.c')
-rw-r--r--drivers/video/fbcon-mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbcon-mac.c b/drivers/video/fbcon-mac.c
index 58deaff54..77adb6395 100644
--- a/drivers/video/fbcon-mac.c
+++ b/drivers/video/fbcon-mac.c
@@ -455,7 +455,7 @@ static int get_pixel_mac(struct display *p, int pixel_x, int pixel_y)
u8 *dest, bit;
u16 *dest16;
u32 *dest32;
- u8 pixel;
+ u8 pixel=0;
switch (p->var.bits_per_pixel) {
case 1: