Explorar o código

staging/lustre: add BLOCK depends in Kconfig

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>
Xiong Zhou %!s(int64=12) %!d(string=hai) anos
pai
achega
7b117940f3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/staging/lustre/lustre/Kconfig

+ 1 - 1
drivers/staging/lustre/lustre/Kconfig

@@ -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