]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
gpio: max77620: add compatible string to device id list
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Wed, 16 Nov 2016 09:17:23 +0000 (14:47 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Nov 2016 19:52:13 +0000 (20:52 +0100)
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>
drivers/gpio/gpio-max77620.c

index df035866d7a2e4bce48449483aaec25ba20f0447..ec8de4190db9f266925f56e7f033ea036f18353a 100644 (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);