diff options
author | Eric Auger <eric.auger@redhat.com> | 2020-03-05 17:51:40 +0100 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2020-03-05 12:17:19 -0500 |
commit | 43bc7f84e14083eda3959127a2346c0f7e31a7ae (patch) | |
tree | e6c2ea04c603e99122c1b33b8c61c566be90c178 /include | |
parent | af4378c39e54705d9b585089de80aae9526ac7e7 (diff) | |
download | qemu-43bc7f84e14083eda3959127a2346c0f7e31a7ae.zip qemu-43bc7f84e14083eda3959127a2346c0f7e31a7ae.tar.gz qemu-43bc7f84e14083eda3959127a2346c0f7e31a7ae.tar.bz2 |
tpm: rename TPM_TIS into TPM_TIS_ISA
As we plan to introduce a sysbus TPM_TIS, let's rename
TPM_TIS into TPM_TIS_ISA.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Message-id: 20200305165149.618-2-eric.auger@redhat.com
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/tpm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sysemu/tpm.h b/include/sysemu/tpm.h index 15979a3..1691b92 100644 --- a/include/sysemu/tpm.h +++ b/include/sysemu/tpm.h @@ -43,12 +43,12 @@ typedef struct TPMIfClass { enum TPMVersion (*get_version)(TPMIf *obj); } TPMIfClass; -#define TYPE_TPM_TIS "tpm-tis" +#define TYPE_TPM_TIS_ISA "tpm-tis" #define TYPE_TPM_CRB "tpm-crb" #define TYPE_TPM_SPAPR "tpm-spapr" -#define TPM_IS_TIS(chr) \ - object_dynamic_cast(OBJECT(chr), TYPE_TPM_TIS) +#define TPM_IS_TIS_ISA(chr) \ + object_dynamic_cast(OBJECT(chr), TYPE_TPM_TIS_ISA) #define TPM_IS_CRB(chr) \ object_dynamic_cast(OBJECT(chr), TYPE_TPM_CRB) #define TPM_IS_SPAPR(chr) \ |