[openwrt/openwrt] kernel: crypto: limit crypto-hw-hifn-795x to devices with pci support

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 22 14:23:48 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c1927f4108e9c6ad33d270db217cb59253743650

commit c1927f4108e9c6ad33d270db217cb59253743650
Author: Aleksander Jan Bajkowski <A.Bajkowski at stud.elka.pw.edu.pl>
AuthorDate: Mon May 3 10:49:06 2021 +0200

    kernel: crypto: limit crypto-hw-hifn-795x to devices with pci support
    
    CONFIG_CRYPTO_DEV_HIFN_795X depends on PCI. This driver only makes sense on
    devices with pci support.
    
    Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski at stud.elka.pw.edu.pl>
---
 package/kernel/linux/modules/crypto.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 35d840b229..6cecb1a0fa 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -360,7 +360,7 @@ $(eval $(call KernelPackage,crypto-hw-geode))
 
 define KernelPackage/crypto-hw-hifn-795x
   TITLE:=HIFN 795x crypto accelerator
-  DEPENDS:=+kmod-random-core +kmod-crypto-manager
+  DEPENDS:=@PCI_SUPPORT +kmod-random-core +kmod-crypto-manager
   KCONFIG:= \
 	CONFIG_CRYPTO_HW=y \
 	CONFIG_CRYPTO_DEV_HIFN_795X \



More information about the lede-commits mailing list