]> git.karo-electronics.de Git - mv-sheeva.git/commit
macfb: fix black and white modes
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 23 Oct 2011 14:11:10 +0000 (01:11 +1100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 22 Jan 2012 13:50:02 +0000 (14:50 +0100)
commitd9070fc4997e255532f0519709c9326d043501b2
tree1cd30e10b0bb52027ab1904509fd8d36fbd49f6b
parentaa557875cc6ed78a8c6035dffa354a09d48b16f6
macfb: fix black and white modes

macfb won't init in black & white modes since fb_alloc_cmap() no longer
works for zero cmap length. Fix this and also clean up a few printk's and
some stylistic inconsistencies.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/video/macfb.c