]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: xpad - make xpad_play_effect() static
authorAdrian Bunk <bunk@stusta.de>
Fri, 15 Jun 2007 03:33:26 +0000 (23:33 -0400)
committerDmitry 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

index 067ed8d1f8a7228121c6d725ccd321e2a19906ed..de4fa8c801377e72a6eb4b3a5dc1b9493e5c8f92 100644 (file)
@@ -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);