From edc4da5da1719c04c9d5d0ae0bebf06c0631778f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 3 Nov 2018 00:29:51 +0100 Subject: kernel: Always activate CONFIG_HW_RANDOM_TPM CONFIG_HW_RANDOM_TPM does not activate a separate kernel module any more, but it only activates the random code in the tpm.ko. Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel') diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 68e9366b5c..2fdb704556 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -900,7 +900,7 @@ define KernelPackage/random-tpm TITLE:=Hardware Random Number Generator TPM support KCONFIG:=CONFIG_HW_RANDOM_TPM FILES:=$(LINUX_DIR)/drivers/char/hw_random/tpm-rng.ko - DEPENDS:= +kmod-random-core +kmod-tpm + DEPENDS:= +kmod-random-core +kmod-tpm @!LINUX_4_19 AUTOLOAD:=$(call AutoProbe,tpm-rng) endef -- cgit v1.2.3