Skip to content

Commit

Permalink
Input: xpad - make xpad_play_effect() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Dmitry Torokhov committed Jul 10, 2007
1 parent 2e8335a commit 6426b33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/input/joystick/xpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ static void xpad_irq_out(struct urb *urb)
__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);

Expand Down

0 comments on commit 6426b33

Please sign in to comment.