]> git.baikalelectronics.ru Git - kernel.git/commit
Char: stallion, don't fail with less than max panels
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Jun 2007 20:46:52 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:33 +0000 (17:23 -0700)
commit323b7548247cfe818ddac023d5737be395fd53f5
treee6b1bd9adf5d123d481b11193c22d0fa7c5366c9
parent72c3b3dae5b366d17a845c67c3fb57126d20cf0e
Char: stallion, don't fail with less than max panels

Since it's not neccesary to have MAX_PANELS on the card, don't fail to let
users use this card even in this case.  Stop the testing for loop instead.

Thanks to Ingo.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: "Ingo Korb" <ingo@akana.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/stallion.c