diff options
| author | Eduardo Habkost | 2020-12-11 23:05:25 +0100 |
|---|---|---|
| committer | Eduardo Habkost | 2020-12-18 21:20:17 +0100 |
| commit | 8f2aff643caad71c45c70da1af285e5a3330d518 (patch) | |
| tree | ba08032bb0e09925c50f15fc4de1d8b44e96afca /hw/tpm | |
| parent | qdev: Make qdev_class_add_property() more flexible (diff) | |
| download | qemu-8f2aff643caad71c45c70da1af285e5a3330d518.tar.gz qemu-8f2aff643caad71c45c70da1af285e5a3330d518.tar.xz qemu-8f2aff643caad71c45c70da1af285e5a3330d518.zip | |
qdev: Move qdev_prop_tpm declaration to tpm_prop.h
Move the variable declaration close to the macro that uses it.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20201211220529.2290218-29-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/tpm')
| -rw-r--r-- | hw/tpm/tpm_prop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/tpm/tpm_prop.h b/hw/tpm/tpm_prop.h index d19e40c112..bbd4225d66 100644 --- a/hw/tpm/tpm_prop.h +++ b/hw/tpm/tpm_prop.h @@ -25,6 +25,8 @@ #include "sysemu/tpm_backend.h" #include "hw/qdev-properties.h" +extern const PropertyInfo qdev_prop_tpm; + #define DEFINE_PROP_TPMBE(_n, _s, _f) \ DEFINE_PROP(_n, _s, _f, qdev_prop_tpm, TPMBackend *) |
