>>> +
>>> config MFD_WM8400
>>> tristate "Support Wolfson Microelectronics WM8400"
>>> select MFD_CORE
>>> diff --git a/drivers/mfd/max8998.c b/drivers/mfd/max8998.c
>>> index 0d68de2..cea9f48 100644
>>> --- a/drivers/mfd/max8998.c
>>> +++ b/drivers/mfd/max8998.c
>>> @@ -30,6 +30,11 @@
>>> #include <linux/mfd/max8998.h>
>>> #include <linux/mfd/max8998-private.h>
>>>
>>> +enum max8998_type {
>>> + TYPE_MAX8998,
>>> + TYPE_LP3974,
>>> +};
>>> +
>>> static struct mfd_cell max8998_devs[] = {
>>> {
>>> .name = "max8998-pmic",
>>> @@ -127,8 +132,8 @@ static int max8998_i2c_remove(struct i2c_client *i2c)
>>> }
>>>
>>> static const struct i2c_device_id max8998_i2c_id[] = {
>>> - { "max8998", 0 },
>>> - { }
>>> + { "max8998", TYPE_MAX8998 },
>>> + { "lp3974", TYPE_LP3974 },
>>> };
>>> MODULE_DEVICE_TABLE(i2c, max8998_i2c_id);
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>> the body of a message to
majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>> Please read the FAQ at http://www.tux.org/lkml/
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to
majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
>
>