linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/7] usbhid: consolidate USB_VENDOR*, USB_DEVICE* defines
@ 2007-04-11  6:49 Paul Walmsley
  0 siblings, 0 replies; only message in thread
From: Paul Walmsley @ 2007-04-11  6:49 UTC (permalink / raw)
  To: linux-input


From: Paul Walmsley <paul@booyaka.com>

Consolidate the USB_VENDOR* and USB_DEVICE* defines into one block.

Signed-off-by: Paul Walmsley <paul@booyaka.com>

---
  drivers/usb/input/hid-core.c |   12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)

Index: linux/drivers/usb/input/hid-core.c
===================================================================
--- linux.orig/drivers/usb/input/hid-core.c
+++ linux/drivers/usb/input/hid-core.c
@@ -509,12 +509,6 @@ void usbhid_close(struct hid_device *hid
  		usb_kill_urb(usbhid->urbin);
  }

-#define USB_VENDOR_ID_PANJIT		0x134c
-
-#define USB_VENDOR_ID_TURBOX		0x062a
-#define USB_DEVICE_ID_TURBOX_KEYBOARD	0x0201
-#define USB_VENDOR_ID_CIDC		0x1677
-
  /*
   * Initialize all reports
   */
@@ -546,6 +540,12 @@ void usbhid_init_reports(struct hid_devi
  		warn("timeout initializing reports");
  }

+#define USB_VENDOR_ID_PANJIT		0x134c
+
+#define USB_VENDOR_ID_TURBOX		0x062a
+#define USB_DEVICE_ID_TURBOX_KEYBOARD	0x0201
+#define USB_VENDOR_ID_CIDC		0x1677
+
  #define USB_VENDOR_ID_GTCO		0x078c
  #define USB_DEVICE_ID_GTCO_90		0x0090
  #define USB_DEVICE_ID_GTCO_100		0x0100

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-11  6:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-11  6:49 [PATCH 2/7] usbhid: consolidate USB_VENDOR*, USB_DEVICE* defines Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).