Explorar o código

drbd: Kconfig fix

!CONFIG_OPT evalues to FALSE if CONFIG_OPT='m'. Do not display the
"DRBD disabled..." message if the dependencies are compiled as module.

Signed-off-by: Johannes Thoma <johannes.thoma@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Johannes Thoma %!s(int64=16) %!d(string=hai) anos
pai
achega
89f01d5cd3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/block/drbd/Kconfig

+ 1 - 1
drivers/block/drbd/Kconfig

@@ -3,7 +3,7 @@
 #
 #
 
 
 comment "DRBD disabled because PROC_FS, INET or CONNECTOR not selected"
 comment "DRBD disabled because PROC_FS, INET or CONNECTOR not selected"
-	depends on !PROC_FS || !INET || !CONNECTOR
+	depends on PROC_FS='n' || INET='n' || CONNECTOR='n'
 
 
 config BLK_DEV_DRBD
 config BLK_DEV_DRBD
 	tristate "DRBD Distributed Replicated Block Device support"
 	tristate "DRBD Distributed Replicated Block Device support"