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:
Venkat Reddy Talla 2016-11-16 14:47:23 +05:30 committed by Linus Walleij
parent 5261bee8f2
commit 3107d57234
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ static int max77620_gpio_probe(struct platform_device *pdev)
static const struct platform_device_id max77620_gpio_devtype[] = {
{ .name = "max77620-gpio", },
{ .name = "max20024-gpio", },
{},
};
MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype);