Skip to content
Commit 8b00e183 authored by Dan Carpenter's avatar Dan Carpenter Committed by Tomi Valkeinen
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 6d3488a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment