hw/gpio: Constify all Property

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2024-12-13 15:34:35 +00:00
parent 7d6a82a3e6
commit de531a6bd4
8 changed files with 8 additions and 8 deletions

View file

@ -386,7 +386,7 @@ static const VMStateDescription vmstate_npcm7xx_gpio = {
},
};
static Property npcm7xx_gpio_properties[] = {
static const Property npcm7xx_gpio_properties[] = {
/* Bit n set => pin n has pullup enabled by default. */
DEFINE_PROP_UINT32("reset-pullup", NPCM7xxGPIOState, reset_pu, 0),
/* Bit n set => pin n has pulldown enabled by default. */