gpio: max77620: add compatible string to device id list
Adding max20024 compatible string to the device id list to support both max77620 and max20024 devices. Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
5261bee8f2
commit
3107d57234
@ -290,6 +290,7 @@ static int max77620_gpio_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
static const struct platform_device_id max77620_gpio_devtype[] = {
|
static const struct platform_device_id max77620_gpio_devtype[] = {
|
||||||
{ .name = "max77620-gpio", },
|
{ .name = "max77620-gpio", },
|
||||||
|
{ .name = "max20024-gpio", },
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype);
|
MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype);
|
||||||
|
Loading…
Reference in New Issue
Block a user