apb: APB QOMify tidy-up
commitb26f441903f8d6efcd0501ec6d0a2c8a51a13eae
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 21 Dec 2017 07:32:57 +0000 (21 07:32 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 9 Jan 2018 21:31:31 +0000 (9 21:31 +0000)
tree78a87dbb65c5ea002f5ba717adc30e72f5165ba0
parent0fe22ffbbc6b65fe6bd453b37120edba91fc169e
apb: APB QOMify tidy-up

Use DeviceClass rather than SysBusDeviceClass in pbm_host_class_init() and
adjust pci_pbm_init_device() accordingly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/pci-host/apb.c