diff options
author | Venkat Reddy Talla <vreddytalla@nvidia.com> | 2016-11-16 04:17:23 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-11-16 14:52:13 -0500 |
commit | 3107d572349f3d45b531bff4243dc6f1b630dedc (patch) | |
tree | bbfd7e5744ddaf92379ede8781022aa5ee7158c3 /drivers/gpio/gpio-max77620.c | |
parent | 5261bee8f29ca8f1a5ddd96ffcaa496414168ed0 (diff) |
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>
Diffstat (limited to 'drivers/gpio/gpio-max77620.c')
-rw-r--r-- | drivers/gpio/gpio-max77620.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio-max77620.c index df035866d7a2..ec8de4190db9 100644 --- a/drivers/gpio/gpio-max77620.c +++ b/drivers/gpio/gpio-max77620.c | |||
@@ -290,6 +290,7 @@ static int max77620_gpio_probe(struct platform_device *pdev) | |||
290 | 290 | ||
291 | static const struct platform_device_id max77620_gpio_devtype[] = { | 291 | static const struct platform_device_id max77620_gpio_devtype[] = { |
292 | { .name = "max77620-gpio", }, | 292 | { .name = "max77620-gpio", }, |
293 | { .name = "max20024-gpio", }, | ||
293 | {}, | 294 | {}, |
294 | }; | 295 | }; |
295 | MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype); | 296 | MODULE_DEVICE_TABLE(platform, max77620_gpio_devtype); |