Skip to content

Commit ae3d69b

Browse files
vwoolpalmer-dabbelt
authored andcommitted
riscv: fix typo in init.c
Commit 0106235 introduced a typo in "__initdata" spelling which led to build breakage for XIP. Fix that. Fixes: 0106235 ("riscv: mm: init: Consolidate vars, functions") Signed-off-by: Vitaly Wool <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent efcec32 commit ae3d69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/mm/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static uintptr_t load_sz __initdata;
451451
#endif
452452

453453
#ifdef CONFIG_XIP_KERNEL
454-
static uintptr_t xiprom __inidata;
454+
static uintptr_t xiprom __initdata;
455455
static uintptr_t xiprom_sz __initdata;
456456
#define xiprom_sz (*((uintptr_t *)XIP_FIXUP(&xiprom_sz)))
457457
#define xiprom (*((uintptr_t *)XIP_FIXUP(&xiprom)))

0 commit comments

Comments
 (0)