qemu/hw/pci
Andreas Färber 8c43a6f05d Make all static TypeInfos const
Since 39bffca203 (qdev: register all
types natively through QEMU Object Model), TypeInfo as used in
the common, non-iterative pattern is no longer amended with information
and should therefore be const.

Fix the documented QOM examples:

 sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h

Since frequently the wrong examples are being copied by contributors of
new devices, fix all types in the tree:

 sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
 sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c

This also avoids to piggy-back these changes onto real functional
changes or other refactorings.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-01-10 15:11:53 -06:00
..
Makefile.objs Merge commit '1dd3a74d2ee2d873cde0b390b536e45420b3fe05' into HEAD 2012-12-17 18:56:22 +01:00
msi.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
msi.h
msix.c msix: expose access to masked/pending state 2012-12-26 11:49:29 +02:00
msix.h msix: expose access to masked/pending state 2012-12-26 11:49:29 +02:00
pci_bridge.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
pci_bridge.h
pci_bus.h pci_bus.h: tweak include guards 2012-12-17 13:02:28 +02:00
pci_host.c
pci_host.h
pci_ids.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
pci_regs.h
pci-hotplug.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pci-stub.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pci.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
pci.h msi: add API to get notified about pending bit poll 2012-12-26 11:49:28 +02:00
pcie_aer.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pcie_aer.h
pcie_host.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
pcie_host.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
pcie_port.c
pcie_port.h
pcie_regs.h
pcie.c pcie: Fix bug in pcie_ext_cap_set_next 2012-12-26 11:49:28 +02:00
pcie.h
shpc.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
shpc.h migration: move include files to include/migration/ 2012-12-19 08:31:32 +01:00
slotid_cap.c
slotid_cap.h