From 7c4a8e57dc4f85a56301662af849af29203c4c6e Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 26 Jun 2017 21:44:47 +0200 Subject: libpayload/drivers/usb/ehci_private.h: Add brackets around macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iee8dc03d5a4ca7537c7da4fed2c67b169c9e2422 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/20376 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel Reviewed-by: Philippe Mathieu-Daudé --- payloads/libpayload/drivers/usb/ehci_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3