summaryrefslogtreecommitdiffstats
path: root/tpm.c
diff options
context:
space:
mode:
authorMarc-André Lureau2017-10-10 00:55:44 +0200
committerStefan Berger2017-10-19 17:42:20 +0200
commit349ccdc89c1b76f6cdd9f8cdc412f0d806046d6b (patch)
tree18e22fad9cc9cc076f27db7faccd63220337ff78 /tpm.c
parenttpm-tis: remove RAISE_STS_IRQ (diff)
downloadqemu-349ccdc89c1b76f6cdd9f8cdc412f0d806046d6b.tar.gz
qemu-349ccdc89c1b76f6cdd9f8cdc412f0d806046d6b.tar.xz
qemu-349ccdc89c1b76f6cdd9f8cdc412f0d806046d6b.zip
tpm: make tpm_get_backend_driver() static
No need to export the function. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'tpm.c')
-rw-r--r--tpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpm.c b/tpm.c
index 3122227156..bc7d7470a8 100644
--- a/tpm.c
+++ b/tpm.c
@@ -31,7 +31,7 @@ void tpm_register_model(enum TpmModel model)
tpm_models[model] = true;
}
-const TPMDriverOps *tpm_get_backend_driver(const char *type)
+static const TPMDriverOps *tpm_get_backend_driver(const char *type)
{
int i = qapi_enum_parse(&TpmType_lookup, type, -1, NULL);