]> 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)
commit6bd860ac1c2a0ec2bbe3470bf2b82348ee354dfc
treefbcbc296ea44fc720eeb9dcc05b0a7b6ab4604b7
parentcc50bb3d3a0c0b8110a9629f7763067d57583709
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>
drivers/net/ethernet/chelsio/inline_crypto/Kconfig