summary refs log tree commit diff stats
path: root/stubs/tpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/tpm.c')
-rw-r--r--stubs/tpm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stubs/tpm.c b/stubs/tpm.c
index 66c99d667d..9bded191d9 100644
--- a/stubs/tpm.c
+++ b/stubs/tpm.c
@@ -10,8 +10,9 @@
 #include "sysemu/tpm.h"
 #include "hw/acpi/tpm.h"
 
-void tpm_init(void)
+int tpm_init(void)
 {
+    return 0;
 }
 
 void tpm_cleanup(void)