diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2017-06-26 21:34:13 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-27 16:51:30 +0000 |
commit | b09822cf82798f78554971b62f236acc3ba3a28d (patch) | |
tree | d0001741338a54fbe9e64ccce02d3c044f8ec145 /payloads/libpayload/drivers | |
parent | 18437c46bd4761f3772736e5eb9e6b4cd4de8955 (diff) | |
download | coreboot-b09822cf82798f78554971b62f236acc3ba3a28d.tar.xz |
libpayload/drivers/usb/ohci_private.h: Add brackets around macro
Change-Id: Id4892adba161cd08eecde71a011384b6c465b98f
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/20372
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')
-rw-r--r-- | payloads/libpayload/drivers/usb/ohci_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/usb/ohci_private.h b/payloads/libpayload/drivers/usb/ohci_private.h index e912837413..07bb20dd51 100644 --- a/payloads/libpayload/drivers/usb/ohci_private.h +++ b/payloads/libpayload/drivers/usb/ohci_private.h @@ -234,8 +234,8 @@ #define TD_DIRECTION_SHIFT 19 #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_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_DELAY_INTERRUPT_SHIFT 21 #define TD_DELAY_INTERRUPT_MASK MASK(TD_DELAY_INTERRUPT_SHIFT, 3) |