summary refs log tree commit diff stats
path: root/hw/i2c/core.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 15:36:52 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:01 -0600
commit6f31905dbe94e89b1c8471ac6d252e9c0f89d2f5 (patch)
treed0c2e97ae5720acac75e82856f6b5bb057b40766 /hw/i2c/core.c
parente923f5e1b853ac80e96b416143300af9d189af8e (diff)
downloadfocaccia-qemu-6f31905dbe94e89b1c8471ac6d252e9c0f89d2f5.tar.gz
focaccia-qemu-6f31905dbe94e89b1c8471ac6d252e9c0f89d2f5.zip
hw/i2c: Constify all Property
Acked-by: Corey Minyard <cminyard@mvista.com>
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>
Diffstat (limited to 'hw/i2c/core.c')
-rw-r--r--hw/i2c/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/core.c b/hw/i2c/core.c
index 4cf30b2c86..4118d3db50 100644
--- a/hw/i2c/core.c
+++ b/hw/i2c/core.c
@@ -18,7 +18,7 @@
 
 #define I2C_BROADCAST 0x00
 
-static Property i2c_props[] = {
+static const Property i2c_props[] = {
     DEFINE_PROP_UINT8("address", struct I2CSlave, address, 0),
     DEFINE_PROP_END_OF_LIST(),
 };