On Wed, May 30, 2007 at 11:58:23PM -0700, Andrew Morton wrote:
This patch makes the needlessly global xpad_play_effect() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
--- linux-2.6.22-rc3-mm1/drivers/input/joystick/xpad.c.old 2007-06-03 22:24:23.000000000 +0200
+++ linux-2.6.22-rc3-mm1/drivers/input/joystick/xpad.c 2007-06-03 22:24:39.000000000 +0200
@@ -376,7 +376,8 @@
__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);
-