aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/ams-delta-fiq.h
diff options
context:
space:
mode:
authorGravatar Janusz Krzysztofik <jmkrzyszt@gmail.com> 2018-06-22 00:41:27 +0200
committerGravatar Tony Lindgren <tony@atomide.com> 2018-07-02 23:05:14 -0700
commita617b36bbc0a1d175bbe98e009e903c1ea0e2be5 (patch)
treea3867b0bdecdc28de0c9971ec35ea4a6d95733b5 /arch/arm/mach-omap1/ams-delta-fiq.h
parentARM: OMAP1: Get rid of <mach/ams-delta-fiq.h> (diff)
downloadlinux-a617b36bbc0a1d175bbe98e009e903c1ea0e2be5.tar.gz
linux-a617b36bbc0a1d175bbe98e009e903c1ea0e2be5.tar.bz2
linux-a617b36bbc0a1d175bbe98e009e903c1ea0e2be5.zip
Input: ams_delta_serio: use IRQ resource
The driver still obtains IRQ number from a hardcoded GPIO. Use IRQ resource instead. For this to work on Amstrad Delta, add the IRQ resource to ams-delta-serio platform device structure. Obtain the IRQ number assigned to "keybrd_clk" GPIO pin from FIQ initialization routine. As a benefit, the driver no longer needs to include <mach/board-ams-delta.h>. Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/ams-delta-fiq.h')
-rw-r--r--arch/arm/mach-omap1/ams-delta-fiq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/ams-delta-fiq.h b/arch/arm/mach-omap1/ams-delta-fiq.h
index 3f691d68aa62..fd76df3cce37 100644
--- a/arch/arm/mach-omap1/ams-delta-fiq.h
+++ b/arch/arm/mach-omap1/ams-delta-fiq.h
@@ -35,7 +35,8 @@
#ifndef __ASSEMBLER__
extern unsigned char qwerty_fiqin_start, qwerty_fiqin_end;
-extern void __init ams_delta_init_fiq(struct gpio_chip *chip);
+extern void __init ams_delta_init_fiq(struct gpio_chip *chip,
+ struct platform_device *pdev);
#endif
#endif