From: Jan Engelhardt 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 Signed-off-by: Andrew Morton --- drivers/crypto/Kconfig | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -puN drivers/crypto/Kconfig~use-menuconfig-objects-crypto-hw drivers/crypto/Kconfig --- a/drivers/crypto/Kconfig~use-menuconfig-objects-crypto-hw +++ a/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 tristate "Support for VIA PadLock ACE" @@ -78,4 +83,4 @@ config ZCRYPT_MONOLITHIC that contains all parts of the crypto device driver (ap bus, request router and all the card drivers). -endmenu +endif # CRYPTO_HW _