xemu/hw/sd
Marc-André Lureau 4f67d30b5e qdev: set properties with device_class_set_props()
The following patch will need to handle properties registration during
class_init time. Let's use a device_class_set_props() setter.

spatch --macro-file scripts/cocci-macro-file.h  --sp-file
./scripts/coccinelle/qdev-set-props.cocci --keep-comments --in-place
--dir .

@@
typedef DeviceClass;
DeviceClass *d;
expression val;
@@
- d->props = val
+ device_class_set_props(d, val)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200110153039.1379601-20-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-01-24 20:59:15 +01:00
..
aspeed_sdhci.c hw/sd/aspeed_sdhci: New device 2019-10-15 18:09:04 +01:00
bcm2835_sdhost.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
core.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
Kconfig hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
Makefile.objs hw/sd/aspeed_sdhci: New device 2019-10-15 18:09:04 +01:00
milkymist-memcard.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
omap_mmc.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pl181.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
pxa2xx_mmci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sd.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sdhci-internal.h hw/sd/sdhci: Move PCI-related code into a separate file 2019-03-12 07:49:04 +01:00
sdhci-pci.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sdhci.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sdmmc-internal.c sdcard: Display command name when tracing CMD/ACMD 2018-03-09 17:09:44 +00:00
sdmmc-internal.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
ssi-sd.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
trace-events trace: Remove trailing newline in events 2019-09-18 10:19:47 +01:00