Commit 3107d572 authored by Venkat Reddy Talla's avatar Venkat Reddy Talla Committed by Linus Walleij

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: default avatarVenkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5261bee8
...@@ -290,6 +290,7 @@ static int max77620_gpio_probe(struct platform_device *pdev) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment