diff options
Diffstat (limited to 'drivers/tpm/tpm-uclass.c')
-rw-r--r-- | drivers/tpm/tpm-uclass.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tpm/tpm-uclass.c b/drivers/tpm/tpm-uclass.c index e71545235c..9488b091a2 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) |