diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-06-14 23:33:26 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-10 00:35:18 -0400 |
commit | 6426b333a7365035ede9744faa24bdc5682fad8a (patch) | |
tree | 70b5b28b732212356aefffba33149296bd1f8fd0 /drivers/input | |
parent | 2e8335a629e48a753642772a5fe758c12d2e48bf (diff) | |
download | linux-3.10-6426b333a7365035ede9744faa24bdc5682fad8a.tar.gz linux-3.10-6426b333a7365035ede9744faa24bdc5682fad8a.tar.bz2 linux-3.10-6426b333a7365035ede9744faa24bdc5682fad8a.zip |
Input: xpad - make xpad_play_effect() static
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>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/joystick/xpad.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |