diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-10-10 00:55:44 +0200 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-10-19 11:42:20 -0400 |
commit | 349ccdc89c1b76f6cdd9f8cdc412f0d806046d6b (patch) | |
tree | 18e22fad9cc9cc076f27db7faccd63220337ff78 /tpm.c | |
parent | d8383d61fa6e11692fb8abfe0c673ece5e1ba9bb (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |