Commit f8230166 authored by Finn Thain's avatar Finn Thain Committed by Bartlomiej Zolnierkiewicz

video/macfb: Call fb_invert_cmaps()

The 'inverse' parameter has no effect otherwise. Remove set-but-unused
variable.
Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent cbb91d5d
...@@ -136,7 +136,6 @@ static struct fb_fix_screeninfo macfb_fix = { ...@@ -136,7 +136,6 @@ static struct fb_fix_screeninfo macfb_fix = {
static void *slot_addr; static void *slot_addr;
static struct fb_info fb_info; static struct fb_info fb_info;
static u32 pseudo_palette[16]; static u32 pseudo_palette[16];
static int inverse;
static int vidtest; static int vidtest;
/* /*
...@@ -520,7 +519,7 @@ static void __init macfb_setup(char *options) ...@@ -520,7 +519,7 @@ static void __init macfb_setup(char *options)
continue; continue;
if (!strcmp(this_opt, "inverse")) if (!strcmp(this_opt, "inverse"))
inverse = 1; fb_invert_cmaps();
else else
if (!strcmp(this_opt, "vidtest")) if (!strcmp(this_opt, "vidtest"))
vidtest = 1; /* enable experimental CLUT code */ vidtest = 1; /* enable experimental CLUT code */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment