From 104f811e6730e129a98fac6fc3941bbe0d0e857f Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Tue, 16 Jun 2015 21:51:55 -0700 Subject: cleanup: fix all the header guards This unifies all the EC header files to use __CROS_EC_FILENAME_H as the include guard. Well, except for test/ util/ and extra/ which use __TEST_ __UTIL_ and __EXTRA_ prefixes respectively. BUG=chromium:496895 BRANCH=none TEST=make buildall -j Signed-off-by: Bill Richardson Change-Id: Iea71b3a08bdec94a11239de810a2b2e152b15029 Reviewed-on: https://chromium-review.googlesource.com/278121 Reviewed-by: Randall Spangler --- include/spi_flash_reg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/spi_flash_reg.h') diff --git a/include/spi_flash_reg.h b/include/spi_flash_reg.h index de9737e4bc..e8d9144a6f 100644 --- a/include/spi_flash_reg.h +++ b/include/spi_flash_reg.h @@ -6,8 +6,8 @@ * SPI flash protection register translation functions for Chrome OS EC. */ -#ifndef __CROS_EC_SPI_FLASH_REGS_H -#define __CROS_EC_SPI_FLASH_REGS_H +#ifndef __CROS_EC_SPI_FLASH_REG_H +#define __CROS_EC_SPI_FLASH_REG_H #include "common.h" @@ -65,4 +65,4 @@ int spi_flash_reg_to_protect(uint8_t sr1, uint8_t sr2, unsigned int *start, int spi_flash_protect_to_reg(unsigned int start, unsigned int len, uint8_t *sr1, uint8_t *sr2); -#endif /* __CROS_EC_SPI_FLASH_REGS_H */ +#endif /* __CROS_EC_SPI_FLASH_REG_H */ -- cgit v1.2.1