From: Adrian Bunk Date: Fri, 15 Jun 2007 03:33:26 +0000 (-0400) Subject: Input: xpad - make xpad_play_effect() static X-Git-Tag: v2.6.23-rc1~1167 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6426b333a7365035ede9744faa24bdc5682fad8a;p=linux-2.6-omap-h63xx.git Input: xpad - make xpad_play_effect() static xpad_play_effect() does not need to be global. Signed-off-by: Adrian Bunk Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 067ed8d1f8a..de4fa8c8013 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);