diff options
Diffstat (limited to 'drivers/regulator/max20086-regulator.c')
| -rw-r--r-- | drivers/regulator/max20086-regulator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/regulator/max20086-regulator.c b/drivers/regulator/max20086-regulator.c index fcdd2d0317a5..92594b2915f3 100644 --- a/drivers/regulator/max20086-regulator.c +++ b/drivers/regulator/max20086-regulator.c @@ -301,10 +301,10 @@ static const struct max20086_chip_info max20089_chip_info = { }; static const struct i2c_device_id max20086_i2c_id[] = { - { "max20086", (kernel_ulong_t)&max20086_chip_info }, - { "max20087", (kernel_ulong_t)&max20087_chip_info }, - { "max20088", (kernel_ulong_t)&max20088_chip_info }, - { "max20089", (kernel_ulong_t)&max20089_chip_info }, + { .name = "max20086", .driver_data = (kernel_ulong_t)&max20086_chip_info }, + { .name = "max20087", .driver_data = (kernel_ulong_t)&max20087_chip_info }, + { .name = "max20088", .driver_data = (kernel_ulong_t)&max20088_chip_info }, + { .name = "max20089", .driver_data = (kernel_ulong_t)&max20089_chip_info }, { /* Sentinel */ } }; MODULE_DEVICE_TABLE(i2c, max20086_i2c_id); |
