]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ide/Kconfig: add missing range check for IDE_MAX_HWIFS
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 20 Apr 2007 20:16:58 +0000 (22:16 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 20 Apr 2007 20:16:58 +0000 (22:16 +0200)
ide_hwif_to_major[] has only 10 entries as there are 10 major numbers
reserved for IDE (if somebody needs more it shouldn't be hard to fix).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/Kconfig

index ca2e4f830c392b01491248362c834901f73f920a..5bdf64b779134d555508891dbe49e7a55651f904 100644 (file)
@@ -57,6 +57,7 @@ if IDE
 config IDE_MAX_HWIFS
        int "Max IDE interfaces"
        depends on ALPHA || SUPERH || IA64 || EMBEDDED
+       range 1 10
        default 4
        help
          This is the maximum number of IDE hardware interfaces that will