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 <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens
2018-11-03 00:29:51 +01:00
parent c8f85a866b
commit edc4da5da1
2 changed files with 2 additions and 2 deletions

View File

@@ -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