Staging: hv: blk dev depends on SCSI
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 7 Aug 2009 18:17:04 +0000 (11:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:54 +0000 (12:01 -0700)
hv block driver uses scsi_*() interfaces so it should depend on SCSI.

ERROR: "scsi_normalize_sense" [drivers/staging/hv/hv_blkvsc.ko] undefined!
ERROR: "scsi_print_sense_hdr" [drivers/staging/hv/hv_blkvsc.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Kconfig

index 226ed0ad2cad13cc7db94f19777c7af7f2c7b075..4a1f4f1b5c9464ea4a3466acf5d66d604109b5ff 100644 (file)
@@ -15,7 +15,7 @@ config HYPERV_STORAGE
 
 config HYPERV_BLOCK
        tristate "Microsoft Hyper-V virtual block driver"
-       depends on BLOCK && m
+       depends on BLOCK && SCSI && m
        default n
        help
          Select this option to enable the Hyper-V virtual block driver.