summaryrefslogtreecommitdiff
path: root/extra/usb_serial/raiden.c
diff options
context:
space:
mode:
Diffstat (limited to 'extra/usb_serial/raiden.c')
-rw-r--r--extra/usb_serial/raiden.c27
1 files changed, 12 insertions, 15 deletions
diff --git a/extra/usb_serial/raiden.c b/extra/usb_serial/raiden.c
index e4720b4357..131cddb00f 100644
--- a/extra/usb_serial/raiden.c
+++ b/extra/usb_serial/raiden.c
@@ -2,7 +2,7 @@
* USB Serial module for Raiden USB debug serial console forwarding.
* SubClass and Protocol allocated in go/usb-ids
*
- * Copyright 2014 The Chromium OS Authors <chromium-os-dev@chromium.org>
+ * Copyright 2014 The ChromiumOS Authors <chromium-os-dev@chromium.org>
* Author: Anton Staaf <robotboy@chromium.org>
*
* This program is free software; you can redistribute it and/or modify
@@ -19,28 +19,25 @@
MODULE_LICENSE("GPL");
-#define USB_VENDOR_ID_GOOGLE 0x18d1
-#define USB_SUBCLASS_GOOGLE_SERIAL 0x50
-#define USB_PROTOCOL_GOOGLE_SERIAL 0x01
+#define USB_VENDOR_ID_GOOGLE 0x18d1
+#define USB_SUBCLASS_GOOGLE_SERIAL 0x50
+#define USB_PROTOCOL_GOOGLE_SERIAL 0x01
static struct usb_device_id const ids[] = {
- { USB_VENDOR_AND_INTERFACE_INFO(USB_VENDOR_ID_GOOGLE,
- USB_CLASS_VENDOR_SPEC,
- USB_SUBCLASS_GOOGLE_SERIAL,
- USB_PROTOCOL_GOOGLE_SERIAL) },
- { 0 }
+ { USB_VENDOR_AND_INTERFACE_INFO(
+ USB_VENDOR_ID_GOOGLE, USB_CLASS_VENDOR_SPEC,
+ USB_SUBCLASS_GOOGLE_SERIAL, USB_PROTOCOL_GOOGLE_SERIAL) },
+ { 0 }
};
MODULE_DEVICE_TABLE(usb, ids);
-static struct usb_serial_driver device =
-{
- .driver = { .owner = THIS_MODULE,
- .name = "Google" },
- .id_table = ids,
+static struct usb_serial_driver device = {
+ .driver = { .owner = THIS_MODULE, .name = "Google" },
+ .id_table = ids,
.num_ports = 1,
};
-static struct usb_serial_driver * const drivers[] = { &device, NULL };
+static struct usb_serial_driver *const drivers[] = { &device, NULL };
module_usb_serial_driver(drivers, ids);