[PATCH] gpio: max77620: add compatible string to device id list
From: Shardar Shariff Md
Date: Wed Nov 16 2016 - 04:17:48 EST
From: Venkat Reddy Talla <vreddytalla@xxxxxxxxxx>
Adding max20024 compatible string to the device id list
to support both max77620 and max20024 devices.
Signed-off-by: Venkat Reddy Talla <vreddytalla@xxxxxxxxxx>
---
drivers/gpio/gpio-max77620.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c
index b46b436..7bb2f11 100644
--- a/drivers/gpio/gpio-max77620.c
+++ b/drivers/gpio/gpio-max77620.c
@@ -296,6 +296,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);
--
2.1.4