staging/lustre: add BLOCK depends in Kconfig
authorXiong Zhou <jencce.kernel@gmail.com>
Thu, 25 Jul 2013 07:06:13 +0000 (15:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 19:09:03 +0000 (12:09 -0700)
Add BLOCK depends in Kconfig for LUSTRE to fix this:
drivers/staging/lustre/lustre/fid/../include/linux/lustre_compat25.h:117:2:
error: implicit declaration of function ‘unregister_blkdev’

Signed-off-by: Xiong Zhou <jencce.kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/Kconfig

index 9ae7fa86b5a8ec520b4893dd26152c72b7a621da..0b45de0726f65cfbd67c602e10a42c4f27f6b212 100644 (file)
@@ -1,6 +1,6 @@
 config LUSTRE_FS
        tristate "Lustre file system client support"
-       depends on STAGING && INET && m
+       depends on STAGING && INET && BLOCK && m
        select LNET
        select CRYPTO
        select CRYPTO_CRC32