]> git.baikalelectronics.ru Git - kernel.git/commit
HID: picolcd: Add minimal palette required by fbcon on 8bpp
authorBruno Prémont <bonbons@linux-vserver.org>
Mon, 28 Jun 2010 20:30:29 +0000 (22:30 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 12 Jul 2010 16:07:35 +0000 (18:07 +0200)
commit2a5df3f23216a627b426544ce41bd60222875430
treebc150912d161459336e9811909b7cbed4d4371a9
parent77a514d7360bd298f0b5a985231c96f08fa7a2cf
HID: picolcd: Add minimal palette required by fbcon on 8bpp

Add a minimal palette so fbcon does not try to dereference
a NULL point when fb is set to 8bpp.

fbcon stores pixels the other way around in bytes for 1bpp
than intially implemented, correct this.

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd.c