projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb16395
)
Input: gpio_mouse - use linux/gpio.h rather than asm/gpio.h
author
Mark Brown
<
[email protected]
>
Tue, 10 Apr 2012 16:03:03 +0000
(09:03 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Tue, 10 Apr 2012 16:05:27 +0000
(09:05 -0700)
Direct usage of the asm include has long been deprecated by the
introduction of gpiolib.
Signed-off-by: Mark Brown <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/mouse/gpio_mouse.c
patch
|
blob
|
history
diff --git
a/drivers/input/mouse/gpio_mouse.c
b/drivers/input/mouse/gpio_mouse.c
index a9ad8e1402be217786574e88146d6e5d652a1e8e..39fe9b737cae5c57aca9a588247038cb75ff375c 100644
(file)
--- a/
drivers/input/mouse/gpio_mouse.c
+++ b/
drivers/input/mouse/gpio_mouse.c
@@
-12,9
+12,9
@@
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/input-polldev.h>
+#include <linux/gpio.h>
#include <linux/gpio_mouse.h>
-#include <asm/gpio.h>
/*
* Timer function which is run every scan_ms ms when the device is opened.