mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04: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:
parent
d8383d61fa
commit
349ccdc89c
2 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
2
tpm.c
2
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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue