diff mbox

[15/40] libstb/tpm_chip.h: declare the TpmTarget type for TSS

Message ID 1476089061-15197-16-git-send-email-stewart@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Stewart Smith Oct. 10, 2016, 8:43 a.m. UTC
From: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>

This declares the TpmTarget for TSS. This could be done in
'libstb/tss/trustedboot.H', but it causes a dependency cycle among
trustedboot.H, trustedTypes.H and tpm_chip.h.

Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 libstb/tpm_chip.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/libstb/tpm_chip.h b/libstb/tpm_chip.h
index 70f5c97..ca30e3b 100644
--- a/libstb/tpm_chip.h
+++ b/libstb/tpm_chip.h
@@ -58,6 +58,9 @@  struct tpm_chip {
 	struct list_node link;
 };
 
+/* TSS tweak */
+typedef struct tpm_chip TpmTarget;
+
 /*
  * Register a tpm chip by binding the driver to dev.
  */