]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix 4xx build issue
authorAnatolij Gustschin <agust@denx.de>
Thu, 12 Jun 2008 10:40:11 +0000 (12:40 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 19 Jun 2008 20:48:45 +0000 (22:48 +0200)
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>
cpu/mpc85xx/cpu.c
include/asm-ppc/processor.h

index 2b7e753ece156e8fdfa83fb2e1d6e55b10d13289..baf8b8193298974528c75849ff0181d9c8491f3f 100644 (file)
@@ -59,7 +59,7 @@ struct cpu_type cpu_type_list [] = {
        CPU_TYPE_ENTRY(8572, 8572_E),
 };
 
-struct cpu_type *identify_cpu(uint ver)
+struct cpu_type *identify_cpu(u32 ver)
 {
        int i;
        for (i = 0; i < ARRAY_SIZE(cpu_type_list); i++)
index 139e6869df767f1ae0ca39508a76a74914f28624..5b506791a77a258a31262382f96c5851a43cd677 100644 (file)
@@ -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, }