diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-10 09:49:30 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-02-16 14:26:07 +0100 |
| commit | d31f1185fb029b44c439a6961a6cb087df6567d9 (patch) | |
| tree | 252d1d945b42d9ee9d59d03933608bb066a3d3ed /hw/sensor | |
| parent | 94dbecb994a38cafa057e5bfa515cef6faadcea4 (diff) | |
| download | focaccia-qemu-d31f1185fb029b44c439a6961a6cb087df6567d9.tar.gz focaccia-qemu-d31f1185fb029b44c439a6961a6cb087df6567d9.zip | |
hw: Declare various const data as 'const'
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250210133134.90879-7-philmd@linaro.org>
Diffstat (limited to 'hw/sensor')
| -rw-r--r-- | hw/sensor/tmp421.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sensor/tmp421.c b/hw/sensor/tmp421.c index 82e604279c..007f7cd018 100644 --- a/hw/sensor/tmp421.c +++ b/hw/sensor/tmp421.c @@ -68,7 +68,7 @@ struct TMP421State { struct TMP421Class { I2CSlaveClass parent_class; - DeviceInfo *dev; + const DeviceInfo *dev; }; #define TYPE_TMP421 "tmp421-generic" |