diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2018-06-22 00:41:27 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-07-03 08:05:14 +0200 |
commit | a617b36bbc0a1d175bbe98e009e903c1ea0e2be5 (patch) | |
tree | a3867b0bdecdc28de0c9971ec35ea4a6d95733b5 /arch/arm/mach-omap1/ams-delta-fiq.h | |
parent | ARM: OMAP1: Get rid of <mach/ams-delta-fiq.h> (diff) | |
download | linux-a617b36bbc0a1d175bbe98e009e903c1ea0e2be5.tar.xz 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.h | 3 |
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 |