crypto: octeontx2 - select CONFIG_NET_DEVLINK
authorShijith Thotton <sthotton@marvell.com>
Fri, 21 Jan 2022 11:12:32 +0000 (16:42 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 31 Jan 2022 00:21:45 +0000 (11:21 +1100)
OcteonTX2 CPT driver will fail to link without devlink support.

aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_egrp_delete':
otx2_cpt_devlink.c:18: undefined reference to `devlink_priv'
aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_egrp_create':
otx2_cpt_devlink.c:9: undefined reference to `devlink_priv'
aarch64-linux-gnu-ld: otx2_cpt_devlink.o: in function `otx2_cpt_dl_uc_info':
otx2_cpt_devlink.c:27: undefined reference to `devlink_priv'

Fixes: fed8f4d5f946 ("crypto: octeontx2 - parameters for custom engine groups")

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/Kconfig

index 9125199f1702bbebd22d414cf7bd358417fd9e71..a48591af12d02535c666d6437ef56cb32b230d22 100644 (file)
@@ -47,6 +47,7 @@ config CRYPTO_DEV_OCTEONTX2_CPT
        select CRYPTO_SKCIPHER
        select CRYPTO_HASH
        select CRYPTO_AEAD
+       select NET_DEVLINK
        help
                This driver allows you to utilize the Marvell Cryptographic
                Accelerator Unit(CPT) found in OcteonTX2 series of processors.