sysemu: Make TPM structures inaccessible if CONFIG_TPM is not defined
[qemu/ar7.git] / stubs / tpm.c
blobe79bd2a6c2dd86ef1d56cc54c36ceec3c95b9852
1 /*
2 * TPM stubs
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 #include "qemu/osdep.h"
9 #include "qapi/qapi-commands-tpm.h"
10 #include "hw/acpi/tpm.h"
12 TPMInfoList *qmp_query_tpm(Error **errp)
14 return NULL;
17 TpmTypeList *qmp_query_tpm_types(Error **errp)
19 return NULL;
22 TpmModelList *qmp_query_tpm_models(Error **errp)
24 return NULL;