mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
hw/watchdog: Constify all Property
Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
1577a9180f
commit
89996947ed
3 changed files with 3 additions and 3 deletions
|
@ -262,7 +262,7 @@ static void wdt_sbsa_gwdt_realize(DeviceState *dev, Error **errp)
|
|||
dev);
|
||||
}
|
||||
|
||||
static Property wdt_sbsa_gwdt_props[] = {
|
||||
static const Property wdt_sbsa_gwdt_props[] = {
|
||||
/*
|
||||
* Timer frequency in Hz. This must match the frequency used by
|
||||
* the CPU's generic timer. Default 62.5Hz matches QEMU's legacy
|
||||
|
|
|
@ -288,7 +288,7 @@ static void aspeed_wdt_realize(DeviceState *dev, Error **errp)
|
|||
sysbus_init_mmio(sbd, &s->iomem);
|
||||
}
|
||||
|
||||
static Property aspeed_wdt_properties[] = {
|
||||
static const Property aspeed_wdt_properties[] = {
|
||||
DEFINE_PROP_LINK("scu", AspeedWDTState, scu, TYPE_ASPEED_SCU,
|
||||
AspeedSCUState *),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
|
|
|
@ -281,7 +281,7 @@ static void imx2_wdt_realize(DeviceState *dev, Error **errp)
|
|||
}
|
||||
}
|
||||
|
||||
static Property imx2_wdt_properties[] = {
|
||||
static const Property imx2_wdt_properties[] = {
|
||||
DEFINE_PROP_BOOL("pretimeout-support", IMX2WdtState, pretimeout_support,
|
||||
false),
|
||||
DEFINE_PROP_END_OF_LIST()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue