summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/mp5926.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/mp5926.c')
-rw-r--r--drivers/hwmon/pmbus/mp5926.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/pmbus/mp5926.c b/drivers/hwmon/pmbus/mp5926.c
index f0d1b30c7013..a40647472b16 100644
--- a/drivers/hwmon/pmbus/mp5926.c
+++ b/drivers/hwmon/pmbus/mp5926.c
@@ -157,8 +157,8 @@ static int mp5926_probe(struct i2c_client *client)
}
static const struct i2c_device_id mp5926_id[] = {
- { "mp5926", 0 },
- {}
+ { .name = "mp5926", .driver_data = 0 },
+ { }
};
MODULE_DEVICE_TABLE(i2c, mp5926_id);