Fix 4xx build issue
Building for 4xx doesn't work since commit 4dbdb768:
In file included from 4xx_pcie.c:28:
include/asm/processor.h:971: error: expected ')' before 'ver'
make[1]: *** [4xx_pcie.o] Error 1
This patch fixes the problem.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
a94f22f08f
commit
96026d42fa
@@ -968,7 +968,7 @@ struct cpu_type {
|
||||
u32 soc_ver;
|
||||
};
|
||||
|
||||
struct cpu_type *identify_cpu(uint ver);
|
||||
struct cpu_type *identify_cpu(u32 ver);
|
||||
|
||||
#define CPU_TYPE_ENTRY(n, v) \
|
||||
{ .name = #n, .soc_ver = SVR_##v, }
|
||||
|
||||
Reference in New Issue
Block a user