]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
riscv: insn-def.h: Fix header guard
authorMayuresh Chitale <mchitale@ventanamicro.com>
Mon, 28 Apr 2025 04:48:45 +0000 (04:48 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 21 May 2025 08:49:30 +0000 (16:49 +0800)
Fix the erroneous header guard for insn-def.h to reflect the correct
header name.

Fixes: bfc8ca3f7f6 ("riscv: Add support for defining instructions")
Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/include/asm/insn-def.h

index 19a10cad84cd058f69cb015359ab7d9614ae01e0..1869342b167d5131faaac0ee851a714dbf206327 100644 (file)
@@ -5,8 +5,8 @@
  * Ported from linux insn-def.h.
  */
 
-#ifndef _ASM_RISCV_BARRIER_H
-#define _ASM_RISCV_BARRIER_H
+#ifndef _ASM_RISCV_INSN_DEF_H
+#define _ASM_RISCV_INSN_DEF_H
 
 #define INSN_I_SIMM12_SHIFT            20
 #define INSN_I_RS1_SHIFT               15
@@ -36,4 +36,4 @@
        __INSN_I(RV_##opcode, RV_##func3, RV_##rd,              \
                 RV_##rs1, RV_##simm12)
 
-#endif /* _ASM_RISCV_BARRIER_H */
+#endif /* _ASM_RISCV_INSN_DEF_H */