[SCSI] fix kconfig dependency warnings related to SCSI_SAS_ATTRS
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 18 Aug 2010 16:28:43 +0000 (09:28 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 9 Sep 2010 20:34:01 +0000 (15:34 -0500)
Fix kconfig dependency warnings in scsi/Kconfig:

warning: (SCSI_SAS_LIBSAS && SCSI || SCSI_MPT2SAS && SCSI_LOWLEVEL && PCI && SCSI || FUSION_SAS && FUSION && PCI && SCSI) selects SCSI_SAS_ATTRS which has unmet direct dependencies (SCSI && BLK_DEV_BSG)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/Kconfig

index a6fdcf4..2e9632e 100644 (file)
@@ -316,7 +316,8 @@ config SCSI_ISCSI_ATTRS
 
 config SCSI_SAS_ATTRS
        tristate "SAS Transport Attributes"
-       depends on SCSI && BLK_DEV_BSG
+       depends on SCSI
+       select BLK_DEV_BSG
        help
          If you wish to export transport-specific information about
          each attached SAS device to sysfs, say Y.