summaryrefslogtreecommitdiff
path: root/tpm.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-10-10 00:55:44 +0200
committerStefan Berger <stefanb@linux.vnet.ibm.com>2017-10-19 11:42:20 -0400
commit349ccdc89c1b76f6cdd9f8cdc412f0d806046d6b (patch)
tree18e22fad9cc9cc076f27db7faccd63220337ff78 /tpm.c
parentd8383d61fa6e11692fb8abfe0c673ece5e1ba9bb (diff)
downloadqemu-349ccdc89c1b76f6cdd9f8cdc412f0d806046d6b.tar.gz
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);