Angel Pons has submitted this change. ( https://review.coreboot.org/c/flashrom/+/48880 )
Change subject: Add missing platform.h includes ......................................................................
Add missing platform.h includes
Include platform.h in all files using its macros.
BUG=none TEST=builds
Signed-off-by: Miriam Polzer mpolzer@google.com Change-Id: If17a3d58c02222f61b4e0335879eeed1638b583c Reviewed-on: https://review.coreboot.org/c/flashrom/+/48880 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Idwer Vollering vidwer@gmail.com Reviewed-by: David Hendricks david.hendricks@gmail.com Reviewed-by: Angel Pons th3fanbus@gmail.com --- M ch341a_spi.c M internal.c 2 files changed, 2 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified David Hendricks: Looks good to me, approved Idwer Vollering: Looks good to me, but someone else must approve Angel Pons: Looks good to me, approved
diff --git a/ch341a_spi.c b/ch341a_spi.c index 17c37eb..84cc3fe 100644 --- a/ch341a_spi.c +++ b/ch341a_spi.c @@ -20,6 +20,7 @@ #include <string.h> #include <libusb.h> #include "flash.h" +#include "platform.h" #include "programmer.h"
/* LIBUSB_CALL ensures the right calling conventions on libusb callbacks. diff --git a/internal.c b/internal.c index 4390b45..bdbe32d 100644 --- a/internal.c +++ b/internal.c @@ -18,6 +18,7 @@ #include <string.h> #include <stdlib.h> #include "flash.h" +#include "platform.h" #include "programmer.h" #include "hwaccess.h"