summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-12-15 12:50:59 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-12-17 23:05:41 +0100
commitd6543c0f3964f20cd6f585d4794d07b7b31207c0 (patch)
treec87e5d7b491a7f178111e38f05e5fdf22c67b42c /arch/arm/mach-omap1
parent4bc16f9dd71a7a8590114e7d7e8812a0214d2994 (diff)
downloadlinux-0-day-d6543c0f3964f20cd6f585d4794d07b7b31207c0.tar.gz
linux-0-day-d6543c0f3964f20cd6f585d4794d07b7b31207c0.tar.xz
ARM: omap1: Fix new user of gpiochip_request_own_desc()
This fixes up a new user of gpiochip_request_own_desc() in the AMS Delta board that appeared after the patch that was applied recently. Fixes: 21abf103818a ("gpio: Pass a flag to gpiochip_request_own_desc()") Reviewed-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/board-ams-delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c
index 6719e139eb62e..b53ff6399d312 100644
--- a/arch/arm/mach-omap1/board-ams-delta.c
+++ b/arch/arm/mach-omap1/board-ams-delta.c
@@ -603,7 +603,7 @@ static void __init modem_assign_irq(struct gpio_chip *chip)
struct gpio_desc *gpiod;
gpiod = gpiochip_request_own_desc(chip, AMS_DELTA_GPIO_PIN_MODEM_IRQ,
- "modem_irq");
+ "modem_irq", 0);
if (IS_ERR(gpiod)) {
pr_err("%s: modem IRQ GPIO request failed (%ld)\n", __func__,
PTR_ERR(gpiod));