瀏覽代碼

Use menuconfig objects: crypto hw

Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jan Engelhardt 18 年之前
父節點
當前提交
b511431d85
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      drivers/crypto/Kconfig

+ 7 - 2
drivers/crypto/Kconfig

@@ -1,4 +1,9 @@
-menu "Hardware crypto devices"
+
+menuconfig CRYPTO_HW
+	bool "Hardware crypto devices"
+	default y
+
+if CRYPTO_HW
 
 
 config CRYPTO_DEV_PADLOCK
 config CRYPTO_DEV_PADLOCK
 	tristate "Support for VIA PadLock ACE"
 	tristate "Support for VIA PadLock ACE"
@@ -78,4 +83,4 @@ config ZCRYPT_MONOLITHIC
 	  that contains all parts of the crypto device driver (ap bus,
 	  that contains all parts of the crypto device driver (ap bus,
 	  request router and all the card drivers).
 	  request router and all the card drivers).
 
 
-endmenu
+endif # CRYPTO_HW