Эх сурвалжийг харах

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 15 жил өмнө
parent
commit
89f01d5cd3

+ 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"