From: Aleksander Jan Bajkowski Date: Mon, 3 May 2021 08:49:06 +0000 (+0200) Subject: kernel: crypto: limit crypto-hw-hifn-795x to devices with pci support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c1927f4108e9c6ad33d270db217cb59253743650;p=openwrt%2Fstaging%2Frmilecki.git 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 --- diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 35d840b2297..6cecb1a0fa6 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 \