mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
committed by
Stefan Berger
parent
d8383d61fa
commit
349ccdc89c
@@ -215,7 +215,6 @@ TPMInfo *tpm_backend_query_tpm(TPMBackend *s);
|
||||
|
||||
TPMBackend *qemu_find_tpm(const char *id);
|
||||
|
||||
const TPMDriverOps *tpm_get_backend_driver(const char *type);
|
||||
void tpm_register_model(enum TpmModel model);
|
||||
void tpm_register_driver(const TPMDriverOps *tdo);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user