]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fbdev/atyfb: fix recent breakage in correct_chipset()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 2 Jul 2013 06:28:21 +0000 (09:28 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Jul 2013 08:24:41 +0000 (11:24 +0300)
commit8b00e1831cea899cd4dfe04e574c26e376c27368
tree4ba79d180ba07a07220e7a44b3fe1a13deb1abc4
parent6d3488a5acc64b79773ada12060babe90c0fb130
fbdev/atyfb: fix recent breakage in correct_chipset()

The 6e36308a6f "fb: fix atyfb build warning" isn't right.  It makes all
the indexes off by one.  This patch reverts it and casts the
ARRAY_SIZE() to int to silence the build warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/aty/atyfb_base.c