aboutsummaryrefslogtreecommitdiff
path: root/drivers/tpm/tpm-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tpm/tpm-uclass.c')
-rw-r--r--drivers/tpm/tpm-uclass.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c
index e715452..9488b09 100644
--- a/drivers/tpm/tpm-uclass.c
+++ b/drivers/tpm/tpm-uclass.c
@@ -6,8 +6,10 @@
#include <common.h>
#include <dm.h>
-#include <tpm.h>
#include <linux/unaligned/be_byteshift.h>
+#if defined(CONFIG_TPM_V1)
+#include <tpm-v1.h>
+#endif
#include "tpm_internal.h"
int tpm_open(struct udevice *dev)