x86: Fix i8259 ifdef include guard
authorAlistair Delva <adelva@google.com>
Mon, 26 Sep 2022 22:23:26 +0000 (22:23 +0000)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 14 Dec 2022 04:04:51 +0000 (12:04 +0800)
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>
arch/x86/include/asm/i8259.h

index b73052a6d244aa96cc333bdc3d8586435e74b1b6..90f2d3866c5d2389bb045488a092b15bba2db0d8 100644 (file)
@@ -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_ */