summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2017-07-03 21:20:27 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-04-29 18:13:08 +0000
commit03f2536f9d4f9bbdec898deebd8fa7df3b33fabc (patch)
treed71803755180215bc22c8720c57daafd9f77b487 /payloads
parent482f82278b7bf65e4482f74c6059beef4de27468 (diff)
libpayload/drivers/usb/ohci_private.h: Add parentheses around macro
Change-Id: Ib90564e32f5ff204aa5d856024b7eed2624a77b7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/20456 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/drivers/usb/ohci_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/ohci_private.h b/payloads/libpayload/drivers/usb/ohci_private.h
index 116a2b4ec6..f8d0217f5d 100644
--- a/payloads/libpayload/drivers/usb/ohci_private.h
+++ b/payloads/libpayload/drivers/usb/ohci_private.h
@@ -236,7 +236,7 @@
#define TD_DIRECTION_MASK MASK(TD_DIRECTION_SHIFT, 2)
#define TD_DIRECTION_SETUP (OHCI_SETUP << TD_DIRECTION_SHIFT)
#define TD_DIRECTION_IN (OHCI_IN << TD_DIRECTION_SHIFT)
-#define TD_DIRECTION_OUT OHCI_OUT << TD_DIRECTION_SHIFT
+#define TD_DIRECTION_OUT (OHCI_OUT << TD_DIRECTION_SHIFT)
#define TD_DELAY_INTERRUPT_SHIFT 21
#define TD_DELAY_INTERRUPT_MASK MASK(TD_DELAY_INTERRUPT_SHIFT, 3)
#define TD_DELAY_INTERRUPT_ZERO 0