qemu/hw/ide
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
..
ahci.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
ahci.h ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
atapi.c atapi: make change media detection for guests easier 2012-11-30 11:33:24 +01:00
cmd646.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
core.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
ich.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
internal.h softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
isa.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
macio.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
microdrive.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
mmio.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pci.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pci.h ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
qdev.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00
via.c Make all static TypeInfos const 2013-01-10 15:11:53 -06:00