projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8335a
)
Input: xpad - make xpad_play_effect() static
author
Adrian Bunk
<bunk@stusta.de>
Fri, 15 Jun 2007 03:33:26 +0000
(23:33 -0400)
committer
Dmitry Torokhov
<dtor@insightbb.com>
Tue, 10 Jul 2007 04:35:18 +0000
(
00:35
-0400)
xpad_play_effect() does not need to be global.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/xpad.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/joystick/xpad.c
b/drivers/input/joystick/xpad.c
index 067ed8d1f8a7228121c6d725ccd321e2a19906ed..de4fa8c801377e72a6eb4b3a5dc1b9493e5c8f92 100644
(file)
--- a/
drivers/input/joystick/xpad.c
+++ b/
drivers/input/joystick/xpad.c
@@
-376,7
+376,8
@@
exit:
__FUNCTION__, retval);
}
-int xpad_play_effect(struct input_dev *dev, void *data, struct ff_effect *effect)
+static int xpad_play_effect(struct input_dev *dev, void *data,
+ struct ff_effect *effect)
{
struct usb_xpad *xpad = input_get_drvdata(dev);