mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
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>
This commit is contained in:
parent
0d5d5bc58b
commit
8f2aff643c
2 changed files with 2 additions and 1 deletions
|
@ -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 *)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue