diff options
author | Alistair Delva | 2021-10-20 21:31:30 +0000 |
---|---|---|
committer | Bin Meng | 2021-11-01 09:50:55 +0800 |
commit | 9bcd51b83829ee7b80482716d490a46d381d59c6 (patch) | |
tree | 9f6d8b4c7afac8f9b2ec4bca9d40e64875b7f790 /arch | |
parent | daf26a6bc29568fb4522cd63689906440785f28d (diff) |
x86: Fix i8254 ifdef include guard
When building U-Boot with clang, it notices that the i8254.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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: fixed the other same typo at the end of the same file]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/i8254.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/i8254.h b/arch/x86/include/asm/i8254.h index d769daf85dc..4069b9a2b84 100644 --- a/arch/x86/include/asm/i8254.h +++ b/arch/x86/include/asm/i8254.h @@ -7,7 +7,7 @@ /* i8254.h Intel 8254 PIT registers */ #ifndef _ASMI386_I8254_H_ -#define _ASMI386_I8954_H_ +#define _ASMI386_I8254_H_ #define PIT_T0 0x00 /* PIT channel 0 count/status */ #define PIT_T1 0x01 /* PIT channel 1 count/status */ @@ -53,4 +53,4 @@ int i8254_enable_beep(uint frequency_hz); */ void i8254_disable_beep(void); -#endif /* _ASMI386_I8954_H_ */ +#endif /* _ASMI386_I8254_H_ */ |