edf5ca5dbe
PCIDeviceClass and PCIDevice are defined in pci.h. Many users of the header don't actually need them. Similar structs live in their own headers: PCIBusClass and PCIBus in pci_bus.h, PCIBridge in pci_bridge.h, PCIHostBridgeClass and PCIHostState in pci_host.h, PCIExpressHost in pcie_host.h, and PCIERootPortClass, PCIEPort, and PCIESlot in pcie_port.h. Move PCIDeviceClass and PCIDeviceClass to new pci_device.h, along with the code that needs them. Adjust include directives. This also enables the next commit. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20221222100330.380143-6-armbru@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
ac97.c | ||
adlib.c | ||
cs4231.c | ||
cs4231a.c | ||
es1370.c | ||
fmopl.c | ||
fmopl.h | ||
gus.c | ||
gusemu_hal.c | ||
gusemu_mixer.c | ||
gusemu.h | ||
gustate.h | ||
hda-codec-common.h | ||
hda-codec.c | ||
intel-hda-defs.h | ||
intel-hda.c | ||
intel-hda.h | ||
Kconfig | ||
lm4549.c | ||
lm4549.h | ||
marvell_88w8618.c | ||
meson.build | ||
pcspk.c | ||
pl041.c | ||
pl041.h | ||
pl041.hx | ||
sb16.c | ||
soundhw.c | ||
trace-events | ||
trace.h | ||
via-ac97.c | ||
wm8750.c |