summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2017-06-26 21:44:47 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2017-06-27 19:43:22 +0000
commit7c4a8e57dc4f85a56301662af849af29203c4c6e (patch)
tree13c6418447eb2d1d6e0ab2b8c2b36000a433c972 /payloads/libpayload/drivers/usb
parent47916fbef272ece6655c9bc76e2eb081593175e0 (diff)
libpayload/drivers/usb/ehci_private.h: Add brackets around macro
Change-Id: Iee8dc03d5a4ca7537c7da4fed2c67b169c9e2422 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/20376 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'payloads/libpayload/drivers/usb')
-rw-r--r--payloads/libpayload/drivers/usb/ehci_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci_private.h b/payloads/libpayload/drivers/usb/ehci_private.h
index 8519c0f2af..79809f7fcd 100644
--- a/payloads/libpayload/drivers/usb/ehci_private.h
+++ b/payloads/libpayload/drivers/usb/ehci_private.h
@@ -143,7 +143,7 @@ typedef struct ehci {
} ehci_t;
#define PS_TERMINATE 1
-#define PS_TYPE_QH 1 << 1
+#define PS_TYPE_QH (1 << 1)
#define PS_PTR_MASK ~0x1f
#define EHCI_INST(controller) ((ehci_t*)((controller)->instance))