]> git.karo-electronics.de Git - linux-beck.git/commit
fbdev/amifb: Correct check for video memory size
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 21 May 2011 19:42:54 +0000 (19:42 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 24 May 2011 07:26:22 +0000 (16:26 +0900)
commite3e4e9c61eb7bbd1171a2b948f1ea4591bac8289
treea5049240909c3397c7fdae606c131db543ff684d
parentb9b52cf4617bedccef64cee63ba8ec68b213bc21
fbdev/amifb: Correct check for video memory size

The check should compare the available memory size with the highest allocation
value (VIDEOMEMSIZE_*_2M), not with the lowest value (VIDEOMEMSIZE_*_1M).

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/amifb.c