diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-04-16 15:38:28 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-04-18 21:21:45 -0700 |
commit | 888073d41680e8244232f3d850e0424a4e9de60f (patch) | |
tree | 1908359e2e7508d5ada657d204fc2e7bf9873bb9 /arch/arm/mach-bcmring/csp | |
parent | e816b57a337ea3b755de72bec38c10c864f23015 (diff) | |
download | blackbird-obmc-linux-888073d41680e8244232f3d850e0424a4e9de60f.tar.gz blackbird-obmc-linux-888073d41680e8244232f3d850e0424a4e9de60f.zip |
ARM: bcmring: fix UART declarations
This error appeared in the bcmring_defconfig build:
CC arch/arm/mach-bcmring/core.o
arch/arm/mach-bcmring/core.c:55: error: macro "AMBA_APB_DEVICE" requires 6 arguments, but only 5 given
arch/arm/mach-bcmring/core.c:55: warning: type defaults to 'int' in declaration of 'AMBA_APB_DEVICE'
arch/arm/mach-bcmring/core.c:56: error: macro "AMBA_APB_DEVICE" requires 6 arguments, but only 5 given
arch/arm/mach-bcmring/core.c:56: warning: type defaults to 'int' in declaration of 'AMBA_APB_DEVICE'
arch/arm/mach-bcmring/core.c:134: error: 'uartA_device' undeclared here (not in a function)
arch/arm/mach-bcmring/core.c:135: error: 'uartB_device' undeclared here (not in a function)
make[2]: *** [arch/arm/mach-bcmring/core.o] Error 1
It appeared as of commit 8ede1ae65e61282cddba39bde4142be3885a6f5a
"ARM: amba: bcmring: use common amba device initializers"
Note that in include/linux/amba/bus.h we have:
#define AMBA_APB_DEVICE(name, busid, id, base, irqs, data) ...
There is an a --> A case error in the busid and a missing zero
placeholder for the id field.
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
[olof: reworded patch subject]
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-bcmring/csp')
0 files changed, 0 insertions, 0 deletions