diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2019-04-01 17:46:55 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2019-04-01 17:46:55 +0200 |
commit | f82301661c6ca3414fb0f6c223f206be938b9495 (patch) | |
tree | 4c151a07382aeb14501afdeae532192dd7833fd7 /drivers/video/fbdev/macfb.c | |
parent | fbdev: atafb: Modernize printing of kernel messages (diff) | |
download | linux-f82301661c6ca3414fb0f6c223f206be938b9495.tar.xz linux-f82301661c6ca3414fb0f6c223f206be938b9495.zip |
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>
Diffstat (limited to 'drivers/video/fbdev/macfb.c')
-rw-r--r-- | drivers/video/fbdev/macfb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fbdev/macfb.c b/drivers/video/fbdev/macfb.c index 00671055a611..37c56c45ee39 100644 --- a/drivers/video/fbdev/macfb.c +++ b/drivers/video/fbdev/macfb.c @@ -136,7 +136,6 @@ static struct fb_fix_screeninfo macfb_fix = { static void *slot_addr; static struct fb_info fb_info; static u32 pseudo_palette[16]; -static int inverse; static int vidtest; /* @@ -520,7 +519,7 @@ static void __init macfb_setup(char *options) continue; if (!strcmp(this_opt, "inverse")) - inverse = 1; + fb_invert_cmaps(); else if (!strcmp(this_opt, "vidtest")) vidtest = 1; /* enable experimental CLUT code */ |