summaryrefslogtreecommitdiff
path: root/drivers/hwmon/max127.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/max127.c')
-rw-r--r--drivers/hwmon/max127.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/max127.c b/drivers/hwmon/max127.c
index 5102d86d2619..b294e86d52d1 100644
--- a/drivers/hwmon/max127.c
+++ b/drivers/hwmon/max127.c
@@ -312,7 +312,7 @@ static int max127_probe(struct i2c_client *client)
}
static const struct i2c_device_id max127_id[] = {
- { "max127" },
+ { .name = "max127" },
{ }
};
MODULE_DEVICE_TABLE(i2c, max127_id);