]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/hpre - Add a switch in sriov_configure
authorMeng Yu <yumeng18@huawei.com>
Fri, 10 Jul 2020 07:40:44 +0000 (15:40 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jul 2020 11:49:11 +0000 (21:49 +1000)
commit3ff7925cf1b22f53355cfea6829a8a6283b1e0dd
tree807409b020a78b149052e736f2e0be7d9a2714b7
parent78300fd3b92b8f5e6716ca4733ea9bc1dc243913
crypto: hisilicon/hpre - Add a switch in sriov_configure

If CONFIG_PCI_IOV is not enabled, we can not use "sriov_configure".

Fixes: 2c37a33ae45c("crypto: hisilicon - add SRIOV support for HPRE")
Signed-off-by: Meng Yu <yumeng18@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Reviewed-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c