0066-crypto-starfive-Fix-driver-dependencies.patch 1.0 KB

1234567891011121314151617181920212223242526272829
  1. From 0d3ee821ed469a787e8007de2d87e98a2370e087 Mon Sep 17 00:00:00 2001
  2. From: Jia Jie Ho <[email protected]>
  3. Date: Fri, 19 May 2023 21:42:33 +0800
  4. Subject: [PATCH 066/122] crypto: starfive - Fix driver dependencies
  5. Kconfig updated to depend on DMADEVICES instead of selecting it.
  6. Reported-by: kernel test robot <[email protected]>
  7. Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
  8. Signed-off-by: Jia Jie Ho <[email protected]>
  9. Signed-off-by: Herbert Xu <[email protected]>
  10. ---
  11. drivers/crypto/starfive/Kconfig | 3 +--
  12. 1 file changed, 1 insertion(+), 2 deletions(-)
  13. --- a/drivers/crypto/starfive/Kconfig
  14. +++ b/drivers/crypto/starfive/Kconfig
  15. @@ -4,10 +4,9 @@
  16. config CRYPTO_DEV_JH7110
  17. tristate "StarFive JH7110 cryptographic engine driver"
  18. - depends on SOC_STARFIVE || COMPILE_TEST
  19. + depends on (SOC_STARFIVE || COMPILE_TEST) && DMADEVICES
  20. select CRYPTO_ENGINE
  21. select ARM_AMBA
  22. - select DMADEVICES
  23. select AMBA_PL08X
  24. help
  25. Support for StarFive JH7110 crypto hardware acceleration engine.