OMAPFB: fix framebuffer console colors
authorGrazvydas Ignotas <notasas@gmail.com>
Tue, 21 Aug 2012 06:09:48 +0000 (09:09 +0300)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Thu, 23 Aug 2012 12:37:22 +0000 (12:37 +0000)
commitc1c52848cef52e157468b8879fc3cae23b6f3a99
tree9be8702c0ded976a85458f7089f6c7bb5823978c
parent35d678664873041026171b4b5e1cec49299e33a0
OMAPFB: fix framebuffer console colors

omapfb does not currently set pseudo palette correctly for color depths
above 16bpp, making red text invisible, command like
  echo -e '\e[0;31mRED' > /dev/tty1
will display nothing on framebuffer console in 24bpp mode.
This is because temporary variable is declared incorrectly, fix it.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Cc: stable@vger.kernel.org # v3.x
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/omap2/omapfb/omapfb-main.c