From: Venkat Reddy Talla <vreddyta...@nvidia.com>

Adding max20024 compatible string to the device id list
to support both max77620 and max20024 devices.

Signed-off-by: Venkat Reddy Talla <vreddyta...@nvidia.com>
---
 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

Reply via email to