]> git.hungrycats.org Git - linux/commit
[PATCH] fbdev: set color fields correctly
authorAntonino Daplas <adaplas@hotpop.com>
Mon, 23 Aug 2004 05:50:12 +0000 (22:50 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:50:12 +0000 (22:50 -0700)
commit64faa58668e2013d683254f20fc35756ce5f490b
tree33e505c118530fd3004e95ee5e989b3c72e6e864
parent37709b416f023bb0a20553b01e21b14d6e2214c9
[PATCH] fbdev: set color fields correctly

Although the depth can be correctly inferred from bits_per_pixel (if
bits_per_pixel == 1), for the sake of consistency, drivers should still set
the color fields correctly.  True even if the first patch is not applied.

(I've combined everything in a single diff since there is only 1 logical
change)

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/68328fb.c
drivers/video/bw2.c
drivers/video/cirrusfb.c
drivers/video/dnfb.c
drivers/video/macfb.c
drivers/video/stifb.c
drivers/video/tx3912fb.c