summaryrefslogtreecommitdiff
path: root/src/drivers/usb/usb_ch9.h
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-07-23 20:00:04 -0600
committerMartin Roth <martinroth@google.com>2017-07-28 16:24:57 +0000
commitb9810a4cd6ec082eaab476540324ae927cae1b53 (patch)
tree65033127f948190bab1a613bc8a374f5734097f8 /src/drivers/usb/usb_ch9.h
parente5f2d4c44c3222cfad881fe24a65c1dc2cfa5cda (diff)
downloadcoreboot-b9810a4cd6ec082eaab476540324ae927cae1b53.tar.xz
src/drivers: Fix checkpatch warning: no spaces at the start of a line
This excludes files which are mostly spaces, which I felt should be handled separately. Change-Id: I33043a3090e2fc6e9d2fd81e8a5e46fb6cb0aa35 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20731 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/drivers/usb/usb_ch9.h')
-rw-r--r--src/drivers/usb/usb_ch9.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/drivers/usb/usb_ch9.h b/src/drivers/usb/usb_ch9.h
index 271b7d1cac..d7f39dde24 100644
--- a/src/drivers/usb/usb_ch9.h
+++ b/src/drivers/usb/usb_ch9.h
@@ -108,20 +108,20 @@
#define USB_PID_DATA_TOGGLE 0x88
struct usb_ctrlrequest {
- u8 bRequestType;
- u8 bRequest;
- u16 wValue;
- u16 wIndex;
- u16 wLength;
+ u8 bRequestType;
+ u8 bRequest;
+ u16 wValue;
+ u16 wIndex;
+ u16 wLength;
} __packed;
struct usb_debug_descriptor {
- u8 bLength;
- u8 bDescriptorType;
+ u8 bLength;
+ u8 bDescriptorType;
- /* bulk endpoints with 8 byte maxpacket */
- u8 bDebugInEndpoint;
- u8 bDebugOutEndpoint;
+ /* bulk endpoints with 8 byte maxpacket */
+ u8 bDebugInEndpoint;
+ u8 bDebugOutEndpoint;
};
#endif