kernel: crypto: limit crypto-hw-hifn-795x to devices with pci support
authorAleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
Mon, 3 May 2021 08:49:06 +0000 (10:49 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 22 Jun 2021 21:23:00 +0000 (23:23 +0200)
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@stud.elka.pw.edu.pl>
package/kernel/linux/modules/crypto.mk

index 35d840b2297b97e946412e7660c2b8d7dc704f1b..6cecb1a0fa6a56467343e3738b227a3437ff7681 100644 (file)
@@ -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 \