summaryrefslogtreecommitdiff
path: root/core/nds32/irq_handler.h
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 /core/nds32/irq_handler.h
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 'core/nds32/irq_handler.h')
-rw-r--r--core/nds32/irq_handler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/nds32/irq_handler.h b/core/nds32/irq_handler.h
index c3d22cc177..2cf10256a0 100644
--- a/core/nds32/irq_handler.h
+++ b/core/nds32/irq_handler.h
@@ -5,8 +5,8 @@
/* Helper to declare IRQ handling routines */
-#ifndef __IRQ_HANDLER_H
-#define __IRQ_HANDLER_H
+#ifndef __CROS_EC_IRQ_HANDLER_H
+#define __CROS_EC_IRQ_HANDLER_H
/* Helper macros to build the IRQ handler and priority struct names */
#define IRQ_HANDLER(irqname) CONCAT3(irq_, irqname, _handler)
@@ -22,4 +22,4 @@
__attribute__((section(".rodata.irqprio"))) \
= {CPU_INT(irq), priority}
-#endif /* __IRQ_HANDLER_H */
+#endif /* __CROS_EC_IRQ_HANDLER_H */