aboutsummaryrefslogtreecommitdiff
path: root/hw/sensor/tmp421.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sensor/tmp421.c')
-rw-r--r--hw/sensor/tmp421.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sensor/tmp421.c b/hw/sensor/tmp421.c
index 82e6042..007f7cd 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"