diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-09-01 17:58:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-04 00:55:07 +0300 |
commit | 6bd860ac1c2a0ec2bbe3470bf2b82348ee354dfc (patch) | |
tree | fbcbc296ea44fc720eeb9dcc05b0a7b6ab4604b7 | |
parent | cc50bb3d3a0c0b8110a9629f7763067d57583709 (diff) | |
download | linux-6bd860ac1c2a0ec2bbe3470bf2b82348ee354dfc.tar.xz |
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: 44fd1c1fd8219551 ("chelsio/chtls: separate chelsio tls driver from crypto driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/chelsio/inline_crypto/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/chelsio/inline_crypto/Kconfig b/drivers/net/ethernet/chelsio/inline_crypto/Kconfig index a3ef057031e4..be70b59b6f80 100644 --- a/drivers/net/ethernet/chelsio/inline_crypto/Kconfig +++ b/drivers/net/ethernet/chelsio/inline_crypto/Kconfig @@ -5,6 +5,7 @@ config CHELSIO_INLINE_CRYPTO bool "Chelsio Inline Crypto support" + depends on CHELSIO_T4 default y help Enable support for inline crypto. @@ -14,7 +15,6 @@ if CHELSIO_INLINE_CRYPTO config CRYPTO_DEV_CHELSIO_TLS tristate "Chelsio Crypto Inline TLS Driver" - depends on CHELSIO_T4 depends on TLS_TOE help Support Chelsio Inline TLS with Chelsio crypto accelerator. @@ -25,7 +25,6 @@ config CRYPTO_DEV_CHELSIO_TLS config CHELSIO_IPSEC_INLINE tristate "Chelsio IPSec XFRM Tx crypto offload" - depends on CHELSIO_T4 depends on XFRM_OFFLOAD depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD help |