Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

video/macfb: Call fb_invert_cmaps()

The 'inverse' parameter has no effect otherwise. Remove set-but-unused
variable.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>

authored by

Finn Thain and committed by
Bartlomiej Zolnierkiewicz
f8230166 cbb91d5d

+1 -2
+1 -2
drivers/video/fbdev/macfb.c
··· 136 136 static void *slot_addr; 137 137 static struct fb_info fb_info; 138 138 static u32 pseudo_palette[16]; 139 - static int inverse; 140 139 static int vidtest; 141 140 142 141 /* ··· 519 520 continue; 520 521 521 522 if (!strcmp(this_opt, "inverse")) 522 - inverse = 1; 523 + fb_invert_cmaps(); 523 524 else 524 525 if (!strcmp(this_opt, "vidtest")) 525 526 vidtest = 1; /* enable experimental CLUT code */