Commit 6bd860ac authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by David S. Miller

chelsio/chtls: CHELSIO_INLINE_CRYPTO should depend on CHELSIO_T4

While CHELSIO_INLINE_CRYPTO is a guard symbol, and just enabling it does
not cause any additional code to be compiled in, all configuration
options protected by it depend on CONFIG_CHELSIO_T4.  Hence it doesn't
make much sense to bother the user with the guard symbol question when
CONFIG_CHELSIO_T4 is disabled.

Fix this by moving the dependency from the individual config options to
the guard symbol.

Fixes: 44fd1c1f ("chelsio/chtls: separate chelsio tls driver from crypto driver")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cc50bb3d
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
config CHELSIO_INLINE_CRYPTO config CHELSIO_INLINE_CRYPTO
bool "Chelsio Inline Crypto support" bool "Chelsio Inline Crypto support"
depends on CHELSIO_T4
default y default y
help help
Enable support for inline crypto. Enable support for inline crypto.
...@@ -14,7 +15,6 @@ if CHELSIO_INLINE_CRYPTO ...@@ -14,7 +15,6 @@ if CHELSIO_INLINE_CRYPTO
config CRYPTO_DEV_CHELSIO_TLS config CRYPTO_DEV_CHELSIO_TLS
tristate "Chelsio Crypto Inline TLS Driver" tristate "Chelsio Crypto Inline TLS Driver"
depends on CHELSIO_T4
depends on TLS_TOE depends on TLS_TOE
help help
Support Chelsio Inline TLS with Chelsio crypto accelerator. Support Chelsio Inline TLS with Chelsio crypto accelerator.
...@@ -25,7 +25,6 @@ config CRYPTO_DEV_CHELSIO_TLS ...@@ -25,7 +25,6 @@ config CRYPTO_DEV_CHELSIO_TLS
config CHELSIO_IPSEC_INLINE config CHELSIO_IPSEC_INLINE
tristate "Chelsio IPSec XFRM Tx crypto offload" tristate "Chelsio IPSec XFRM Tx crypto offload"
depends on CHELSIO_T4
depends on XFRM_OFFLOAD depends on XFRM_OFFLOAD
depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment