summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2022-09-26 22:23:26 +0000
committerBin Meng <bmeng.cn@gmail.com>2022-12-14 12:04:51 +0800
commit767df6a27d5395851859e56b4c97413ab9443c0e (patch)
tree1d0879ac007e02ed806d8bb59a1afd00df2e2206 /arch/x86
parentc917865c7fd14420d25388bb3c8c24cb03911caf (diff)
downloadu-boot-767df6a27d5395851859e56b4c97413ab9443c0e.tar.gz
u-boot-767df6a27d5395851859e56b4c97413ab9443c0e.tar.bz2
u-boot-767df6a27d5395851859e56b4c97413ab9443c0e.zip
x86: Fix i8259 ifdef include guard
When building U-Boot with clang, it notices that the i8259.h include guard does not work correctly due to a typo. Fix it. Signed-off-by: Alistair Delva <adelva@google.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/i8259.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/i8259.h b/arch/x86/include/asm/i8259.h
index b73052a6d2..90f2d3866c 100644
--- a/arch/x86/include/asm/i8259.h
+++ b/arch/x86/include/asm/i8259.h
@@ -7,7 +7,7 @@
/* i8259.h i8259 PIC Registers */
#ifndef _ASMI386_I8259_H_
-#define _ASMI386_I8959_H_
+#define _ASMI386_I8259_H_
/* PIC I/O mapped registers */
#define IRR 0x0 /* Interrupt Request Register */
@@ -73,4 +73,4 @@
int i8259_init(void);
-#endif /* _ASMI386_I8959_H_ */
+#endif /* _ASMI386_I8259_H_ */