]> git.karo-electronics.de Git - linux-beck.git/commit
simplefb: formalize pseudo palette handling
authorLuc Verhaegen <libv@skynet.be>
Fri, 14 Nov 2014 12:26:48 +0000 (13:26 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 14 Nov 2014 13:28:33 +0000 (15:28 +0200)
commit1270be4a4fb852630280638cbb169b67c485b3e3
treed46e830f67aef08924395ce4e9c4800921bf6a95
parent9ee4cd1aa3eec2f405652dc51779612104feebef
simplefb: formalize pseudo palette handling

Add a proper struct describing simplefb private data, with the palette in there,
instead of directly storing the palette in the fb_info->par pointer.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Acked-by: Stephen Warren <swarren@nvidia.com>
[hdegoede@redhat.com: drop unnecessary void * cast]
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/simplefb.c