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