mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] gpio_keys driver shouldn't be ARM-specific
The gpio_keys driver is wrongly ARM-specific; it can't build on other platforms with GPIO suport. This fixes that problem. Signed-off-by: David Brownell <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: pHilipp Zabel <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Cc: Russell King <[email protected]> Cc: Richard Purdie <[email protected]> Cc: Ben Nizette <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0a938b9768
commit
49015bee40
2 changed files with 1 additions and 3 deletions
|
|
@ -23,11 +23,9 @@
|
|||
#include <linux/platform_device.h>
|
||||
#include <linux/input.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/gpio_keys.h>
|
||||
|
||||
#include <asm/gpio.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
||||
#include <asm/hardware/gpio_keys.h>
|
||||
|
||||
static irqreturn_t gpio_keys_isr(int irq, void *dev_id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue