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)
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>

No differences found