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>
This commit is contained in:
parent
18437c46bd
commit
b09822cf82
|
@ -234,8 +234,8 @@
|
||||||
|
|
||||||
#define TD_DIRECTION_SHIFT 19
|
#define TD_DIRECTION_SHIFT 19
|
||||||
#define TD_DIRECTION_MASK MASK(TD_DIRECTION_SHIFT, 2)
|
#define TD_DIRECTION_MASK MASK(TD_DIRECTION_SHIFT, 2)
|
||||||
#define TD_DIRECTION_SETUP OHCI_SETUP << TD_DIRECTION_SHIFT
|
#define TD_DIRECTION_SETUP (OHCI_SETUP << TD_DIRECTION_SHIFT)
|
||||||
#define TD_DIRECTION_IN OHCI_IN << 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_SHIFT 21
|
||||||
#define TD_DELAY_INTERRUPT_MASK MASK(TD_DELAY_INTERRUPT_SHIFT, 3)
|
#define TD_DELAY_INTERRUPT_MASK MASK(TD_DELAY_INTERRUPT_SHIFT, 3)
|
||||||
|
|
Loading…
Reference in New Issue