]> git.baikalelectronics.ru Git - kernel.git/commit
chelsio/chtls: CHELSIO_INLINE_CRYPTO should depend on CHELSIO_T4
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 1 Sep 2020 14:58:41 +0000 (16:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 21:55:07 +0000 (14:55 -0700)
commitb1a0d87564c92611193e9311366ade1b44f9cbef
treefbcbc296ea44fc720eeb9dcc05b0a7b6ab4604b7
parent6ed9fe3a46b7474911008db48c2dd444b7ed5625
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: 84e3325023fe9100 ("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>
drivers/net/ethernet/chelsio/inline_crypto/Kconfig