Skip to content

Commit

Permalink
gpio: max77620: add compatible string to device id list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Venkat Reddy Talla authored and Linus Walleij committed Nov 16, 2016
1 parent 5261bee commit 3107d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpio/gpio-max77620.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3107d57

Please sign in to comment.