projects/linux·commit 6426b333

Input: xpad - make xpad_play_effect() static

6426b333 · Adrian Bunk <[email protected]> · 2007-06-14 23:33:26 -04:00

xpad_play_effect() does not need to be global.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Commit
6426b333a7365035ede9744faa24bdc5682fad8a
Parents
2e8335a6

Changes

1 files changed · +2 −1

FileStatusAddDelContent
drivers/input/joystick/xpad.cmodified+2−1View file

drivers/input/joystick/xpad.c

View file
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 067ed8d..de4fa8c 100644
--- 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);