From: Adrian Bunk Make the needlessly global xpad_play_effect() static. Signed-off-by: Adrian Bunk Cc: Dmitry Torokhov Signed-off-by: Andrew Morton --- drivers/input/joystick/xpad.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/input/joystick/xpad.c~git-input-make-xpad_play_effect-static drivers/input/joystick/xpad.c --- a/drivers/input/joystick/xpad.c~git-input-make-xpad_play_effect-static +++ a/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); _