Skip to contentSkip to conversation

xpad: add missing prototype and update history

PATCH New Mike Murphy 1 participant 1 message Mar 7, 2009 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xpad: add missing prototype and update history

Add missing prototype to xpad.h and update driver history and last modified dates

cc Dmitry Torokhov <[email protected]>
cc Randy Dunlap <[email protected]>
drivers/input/joystick/xpad.c +1 -1
diff -uNr mmdrv/drivers/input/joystick/xpad.c newdrv/drivers/input/joystick/xpad.c
@@ -1,7 +1,7 @@
 /*
  * Xbox gamepad driver with Xbox 360 wired/wireless support
  *
- * Last Modified:	2 March 2009
+ * Last Modified:	6 March 2009
  *			Mike Murphy <[email protected]>
  *
  * Copyright (c) 2002 Marko Friedemann <[email protected]>
drivers/input/joystick/xpad.h +9 -1
diff -uNr mmdrv/drivers/input/joystick/xpad.h newdrv/drivers/input/joystick/xpad.h
@@ -1,7 +1,7 @@
 /*
  * Xbox gamepad driver with Xbox 360 wired/wireless support
  *
- * Last Modified:	2 March 2009
+ * Last Modified:	6 March 2009
  *			Mike Murphy <[email protected]>
  *
  * Copyright (c) 2002 Marko Friedemann <[email protected]>
@@ -224,6 +224,7 @@
 static void xpad_irq_out(struct urb *urb);
 static int xpad_init_output(struct usb_interface *intf, struct usb_xpad *xpad);
 static void xpad_stop_output(struct usb_xpad *xpad);
+static void xpad_deinit_output(struct usb_xpad *xpad);
 static int xpad_play_effect(struct input_dev *dev, void *data,
 			    struct ff_effect *effect);
 static int xpad_init_ff(struct usb_xpad *xpad);
@@ -298,6 +299,13 @@
 
 /* Driver History:
  *
+ * 2009-03-06 : Patches from -mm tree
+ *  - fixed build issue when CONFIG_JOYSTICK_XPAD_LEDS not set and removed
+ *    duplicate prototypes (thanks Randy Dunlap for patch)
+ *  - fixed erroneous whitespace reported by checkpatch (thanks Andrew Morton
+ *    for patch)
+ *  - added missing prototype
+ *
  * 2009-03-02 : Code cleanup
  *  - used min(), max(), and abs() where appropriate, simplifying code
  *  - moved code that generates data objects out of xpad.h and into xpad.c