summaryrefslogtreecommitdiffstats
path: root/hw/timer/aspeed_timer.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-07-05 17:58:07 +0200
committerLaurent Vivier2018-10-26 17:17:32 +0200
commit40e2297b4c73589290f64018aa65e4aa7e08b427 (patch)
tree77c7ac3f3868828a1b5a83010e4b2f80b45f6c94 /hw/timer/aspeed_timer.c
parentqobject: Catch another straggler for use of qdict_put_str() (diff)
downloadqemu-40e2297b4c73589290f64018aa65e4aa7e08b427.tar.gz
qemu-40e2297b4c73589290f64018aa65e4aa7e08b427.tar.xz
qemu-40e2297b4c73589290f64018aa65e4aa7e08b427.zip
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/timer/aspeed_timer.c')
0 files changed, 0 insertions, 0 deletions