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>
This commit is contained in:
Elyes HAOUAS 2017-06-26 21:44:47 +02:00 committed by Stefan Reinauer
parent 47916fbef2
commit 7c4a8e57dc
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ typedef struct ehci {
} ehci_t; } ehci_t;
#define PS_TERMINATE 1 #define PS_TERMINATE 1
#define PS_TYPE_QH 1 << 1 #define PS_TYPE_QH (1 << 1)
#define PS_PTR_MASK ~0x1f #define PS_PTR_MASK ~0x1f
#define EHCI_INST(controller) ((ehci_t*)((controller)->instance)) #define EHCI_INST(controller) ((ehci_t*)((controller)->instance))