summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/mp2993.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/mp2993.c')
-rw-r--r--drivers/hwmon/pmbus/mp2993.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/mp2993.c b/drivers/hwmon/pmbus/mp2993.c
index 81c84fc8ed47..3a6a6c55a1f1 100644
--- a/drivers/hwmon/pmbus/mp2993.c
+++ b/drivers/hwmon/pmbus/mp2993.c
@@ -233,7 +233,7 @@ static int mp2993_probe(struct i2c_client *client)
}
static const struct i2c_device_id mp2993_id[] = {
- { "mp2993" },
+ { .name = "mp2993" },
{ }
};
MODULE_DEVICE_TABLE(i2c, mp2993_id);