ARM: l2x0: Fix merge typo with "ARM: l2x0: add empty l2x0_of_init"
PATCH 1/1 ARM: l2x0: Fix merge typo with "ARM: l2x0: add empty l2x0_of_init"
Fix build error "error: implicit declaration of function 'l2x0_init'" if CONFIG_OF is not set. This looks like to be caused by some manual typo when committing or merging as this is not in the original patch.
---
See commits 5260f15 and d94527d, tree version and the original patch
http://lists.infradead.org/pipermail/linux-arm-kernel/2011-August/063478.html
I'm ok if those commits are dropped and replaced with original one.
--- arch/arm/include/asm/hardware/cache-l2x0.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
arch/arm/include/asm/hardware/cache-l2x0.h +0 -3
@@ -101,7 +101,6 @@#define L2X0_ADDR_FILTER_EN 1#ifndef __ASSEMBLY__ -#if defined(CONFIG_CACHE_L2X0 ) && defined(CONFIG_OF )extern void __init l2x0_init (void __iomem *base,__u32 aux_val,__u32 aux_mask);#if defined(CONFIG_CACHE_L2X0 ) && defined(CONFIG_OF )extern int l2x0_of_init (__u32 aux_val,__u32 aux_mask);
@@ -130,6 +129,4 @@ struct l2x0_regs {extern struct l2x0_regs l2x0_saved_regs; -#endif /* __ASSEMBLY__ */ -#endif
Signature · 1 line
1.7.6.3
PATCH 1/1 ARM: l2x0: Fix merge typo with "ARM: l2x0: add empty l2x0_of_init"
Quoted 6 lines · Jarkko Nikula
Fix build error "error: implicit declaration of function '
l2x0_init'" ifCONFIG_OFis not set. This looks like to be caused by some manual typo when committing or merging as this is not in the original patch.Signed-off-by Jarkko Nikula <[email protected]>Cc Rob Herring <[email protected]>
Hi Jarkko,
The bug was introduce by a broken rebase on my side. I've redone this now and hope I got it right this time.
Thanks for the report!
Arnd