summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/dps920ab.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/dps920ab.c')
-rw-r--r--drivers/hwmon/pmbus/dps920ab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/pmbus/dps920ab.c b/drivers/hwmon/pmbus/dps920ab.c
index 325111a955e6..0d2901c314c2 100644
--- a/drivers/hwmon/pmbus/dps920ab.c
+++ b/drivers/hwmon/pmbus/dps920ab.c
@@ -191,8 +191,8 @@ static const struct of_device_id __maybe_unused dps920ab_of_match[] = {
MODULE_DEVICE_TABLE(of, dps920ab_of_match);
static const struct i2c_device_id dps920ab_device_id[] = {
- { "dps920ab" },
- {}
+ { .name = "dps920ab" },
+ { }
};
MODULE_DEVICE_TABLE(i2c, dps920ab_device_id);