diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-07-05 12:58:07 -0300 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-10-26 17:17:32 +0200 |
commit | 40e2297b4c73589290f64018aa65e4aa7e08b427 (patch) | |
tree | 77c7ac3f3868828a1b5a83010e4b2f80b45f6c94 /hw/nvram | |
parent | 7396972021f0d1386f8cb14cacd64b1fe1237fd7 (diff) |
xen: Use the PCI_DEVICE macro
TYPE_XEN_PT_DEVICE is a subclass of TYPE_PCI_DEVICE, the clean way
to access the PCIDevice pointer is using the PCI_DEVICE() macro.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20180705155811.20366-4-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/nvram')
0 files changed, 0 insertions, 0 deletions