summaryrefslogtreecommitdiff
path: root/board/dingdong
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-06-16 21:51:55 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-18 19:07:00 +0000
commit104f811e6730e129a98fac6fc3941bbe0d0e857f (patch)
tree17a0d78af92eceb0cde468f56afc41f0ec726dd9 /board/dingdong
parent19cd951027b7bd7b726e085c46b8cc9c136b0980 (diff)
downloadchrome-ec-104f811e6730e129a98fac6fc3941bbe0d0e857f.tar.gz
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 <wfrichar@chromium.org> Change-Id: Iea71b3a08bdec94a11239de810a2b2e152b15029 Reviewed-on: https://chromium-review.googlesource.com/278121 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/dingdong')
-rw-r--r--board/dingdong/board.h6
-rw-r--r--board/dingdong/usb_pd_config.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/board/dingdong/board.h b/board/dingdong/board.h
index 85f4374e68..ab55e0aa2e 100644
--- a/board/dingdong/board.h
+++ b/board/dingdong/board.h
@@ -5,8 +5,8 @@
/* Dingdong dongle configuration */
-#ifndef __BOARD_H
-#define __BOARD_H
+#ifndef __CROS_EC_BOARD_H
+#define __CROS_EC_BOARD_H
/* 48 MHz SYSCLK clock frequency */
#define CPU_CLOCK 48000000
@@ -103,4 +103,4 @@ enum usb_strings {
#define USB_EP_CONTROL 0
#define USB_EP_COUNT 1
-#endif /* __BOARD_H */
+#endif /* __CROS_EC_BOARD_H */
diff --git a/board/dingdong/usb_pd_config.h b/board/dingdong/usb_pd_config.h
index 894a63867b..33e7225131 100644
--- a/board/dingdong/usb_pd_config.h
+++ b/board/dingdong/usb_pd_config.h
@@ -5,8 +5,8 @@
/* USB Power delivery board configuration */
-#ifndef __USB_PD_CONFIG_H
-#define __USB_PD_CONFIG_H
+#ifndef __CROS_EC_USB_PD_CONFIG_H
+#define __CROS_EC_USB_PD_CONFIG_H
/* Timer selection for baseband PD communication */
#define TIM_CLOCK_PD_TX_C0 17
@@ -125,4 +125,4 @@ static inline int pd_adc_read(int port, int cc)
return (cc == 0) ? adc_read_channel(ADC_CH_CC1_PD) : 0;
}
-#endif /* __USB_PD_CONFIG_H */
+#endif /* __CROS_EC_USB_PD_CONFIG_H */