fbdev/atyfb: fix recent breakage in correct_chipset()
The 6e36308a "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: NDan Carpenter <dan.carpenter@oracle.com> Acked-by: NRandy Dunlap <rdunlap@infradead.org> Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
Showing
想要评论请 注册 或 登录