OMAPFB: fix framebuffer console colors
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 4 Aug 2012 16:19:13 +0000 (19:19 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 10 Aug 2012 12:48:40 +0000 (15:48 +0300)
commita2496dc9427a4f8d7db47a09ac9bb194b233fe88
tree74196a4074a1d6383e2aead562dd4bf716d65512
parent8aa2eed1348d615817de792cd205868348a5293d
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
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c