From a92d97790468ade42bc18b3d96dadc9dd6ac37b1 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jo@mein.io>
Date: Fri, 3 Mar 2017 17:29:41 +0100
Subject: [PATCH] kernel: fix kmod-tpm-tis packaging

The tmp-tis module depends on tpm_tis_core.ko, so package this file as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
---
 package/kernel/linux/modules/other.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 3b2d2e9667..40869c6bb0 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -974,7 +974,9 @@ define KernelPackage/tpm-tis
   TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
 	DEPENDS:= @TARGET_x86 +kmod-tpm
   KCONFIG:= CONFIG_TCG_TIS
-  FILES:= $(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko
+  FILES:= \
+	$(LINUX_DIR)/drivers/char/tpm/tpm_tis.ko \
+	$(LINUX_DIR)/drivers/char/tpm/tpm_tis_core.ko
   AUTOLOAD:=$(call AutoLoad,20,tpm_tis,1)
 endef
 
-- 
GitLab