From: Dan Carpenter Date: Tue, 2 Jul 2013 06:28:21 +0000 (+0300) Subject: fbdev/atyfb: fix recent breakage in correct_chipset() X-Git-Tag: v3.11-rc4~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b00e1831cea899cd4dfe04e574c26e376c27368;p=pandora-kernel.git 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 Acked-by: Randy Dunlap Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed