crypto: hisilicon/qm - fix build failure with ACPI off
authorShukun Tan <tanshukun1@huawei.com>
Fri, 17 Apr 2020 07:08:31 +0000 (15:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Apr 2020 08:16:21 +0000 (18:16 +1000)
Add Kconfig dependency to fix kbuild warnings.

Fixes: 6c6dd5802c2d ("crypto: hisilicon/qm - add controller reset interface")
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/Kconfig

index f09c6cf..99e962e 100644 (file)
@@ -42,6 +42,7 @@ config CRYPTO_DEV_HISI_QM
        depends on ARM64 || COMPILE_TEST
        depends on PCI && PCI_MSI
        depends on UACCE || UACCE=n
+       depends on ACPI
        help
          HiSilicon accelerator engines use a common queue management
          interface. Specific engine driver may use this module.