summaryrefslogtreecommitdiff
path: root/src/drivers/usb
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-07-08 12:33:47 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-07-09 09:27:34 +0000
commitb0b0c8c60a6072d1b0707f9b9b87650570b35ea3 (patch)
treefa3f70a9890aa2f45ee15d4c3c99f851c5a74df4 /src/drivers/usb
parent6c9737b1ac5b71f705350a960dee0e68b9afb440 (diff)
downloadcoreboot-b0b0c8c60a6072d1b0707f9b9b87650570b35ea3.tar.xz
src/{device,drivers}: Use "foo *bar" instead of "foo* bar"
Change-Id: Ic1c9b1edd8d3206a68854107ddcbc5c51cb487c3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/27404 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/drivers/usb')
-rw-r--r--src/drivers/usb/ehci_debug.c2
-rw-r--r--src/drivers/usb/gadget.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/usb/ehci_debug.c b/src/drivers/usb/ehci_debug.c
index fcc52230c9..52b4bdde6b 100644
--- a/src/drivers/usb/ehci_debug.c
+++ b/src/drivers/usb/ehci_debug.c
@@ -631,7 +631,7 @@ void usbdebug_re_enable(unsigned ehci_base)
diff = (unsigned)dbg_info->ehci_base - ehci_base;
dbg_info->ehci_debug -= diff;
- dbg_info->ehci_base = (void*)ehci_base;
+ dbg_info->ehci_base = (void *)ehci_base;
for (i=0; i<DBGP_MAX_ENDPOINTS; i++)
if (dbg_info->ep_pipe[i].status & DBGP_EP_VALID)
diff --git a/src/drivers/usb/gadget.c b/src/drivers/usb/gadget.c
index 37e97a3c1c..3254a8a1c2 100644
--- a/src/drivers/usb/gadget.c
+++ b/src/drivers/usb/gadget.c
@@ -29,7 +29,7 @@
#define USB_HUB_C_PORT_RESET 20
-static int hub_port_status(const char * buf, int feature)
+static int hub_port_status(const char *buf, int feature)
{
return !!(buf[feature>>3] & (1<<(feature&0x7)));
}