OSDN Git Service

scsi: mac_scsi: Fix MAC_SCSI=m option when SCSI=m
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 22 Feb 2017 22:08:02 +0000 (09:08 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:00:19 +0000 (14:00 +0200)
commit 2559a1ef688f933835912c731bed2254146a9b04 upstream.

The mac_scsi driver still gets disabled when SCSI=m. This should have
been fixed back when I enabled the tristate but I didn't see the bug.

Fixes: 6e9ae6d560e1 ("[PATCH] mac_scsi: Add module option to Kconfig")
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/Kconfig

index 3e2bdb9..17b1574 100644 (file)
@@ -1497,7 +1497,7 @@ config ATARI_SCSI
 
 config MAC_SCSI
        tristate "Macintosh NCR5380 SCSI"
-       depends on MAC && SCSI=y
+       depends on MAC && SCSI
        select SCSI_SPI_ATTRS
        help
          This is the NCR 5380 SCSI controller included on most of the 68030