summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/mp2891.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/mp2891.c')
-rw-r--r--drivers/hwmon/pmbus/mp2891.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/mp2891.c b/drivers/hwmon/pmbus/mp2891.c
index f8f4c91ec23c..316c1fc0d6cc 100644
--- a/drivers/hwmon/pmbus/mp2891.c
+++ b/drivers/hwmon/pmbus/mp2891.c
@@ -572,7 +572,7 @@ static int mp2891_probe(struct i2c_client *client)
}
static const struct i2c_device_id mp2891_id[] = {
- { "mp2891" },
+ { .name = "mp2891" },
{ }
};
MODULE_DEVICE_TABLE(i2c, mp2891_id);