drivers/video/backlight/s6e63m0.c: report ->gamma_table_count correctly
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Feb 2013 00:44:01 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:25 +0000 (17:22 -0800)
commiteeb1ef3b641f078cb1079cec48a8da2bdf449f21
tree283bfbe536b34c249a161c6c69a45b98b7d5be59
parentc84c383366bcb1025b03a82e5ebcf9f1c645ec68
drivers/video/backlight/s6e63m0.c: report ->gamma_table_count correctly

gamma_table has 3 arrays which each hold MAX_GAMMA_LEVEL pointers to int.

The current code sets ->gamma_table_count to 6 on 64bit arches and to 3 on
32 bit arches.  It should be 3 on everything.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/s6e63m0.c