summary refs log tree commit diff stats
path: root/hw/misc/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/led.c')
-rw-r--r--hw/misc/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/led.c b/hw/misc/led.c
index 4bb6ce8d29..76efdbc3f1 100644
--- a/hw/misc/led.c
+++ b/hw/misc/led.c
@@ -101,7 +101,7 @@ static void led_realize(DeviceState *dev, Error **errp)
     qdev_init_gpio_in(DEVICE(s), led_set_state_gpio_handler, 1);
 }
 
-static Property led_properties[] = {
+static const Property led_properties[] = {
     DEFINE_PROP_STRING("color", LEDState, color),
     DEFINE_PROP_STRING("description", LEDState, description),
     DEFINE_PROP_BOOL("gpio-active-high", LEDState, gpio_active_high, true),