linux/arch/arm/mach-bcmring
Paul Gortmaker 888073d416 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 8ede1ae65e

    "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>
2012-04-18 21:21:45 -07:00
..
csp Fix common misspellings 2011-03-31 11:26:23 -03:00
include ARM: remove bunch of now unused mach/io.h files 2012-03-06 21:34:44 -06:00
arch.c ARM: bcmring: fix build failure in mach-bcmring/arch.c 2012-02-04 11:38:20 -08:00
clock.c ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
clock.h ARM: 5644/1: add bcmring core.c, clock.c, clock.h 2009-08-15 16:01:38 +01:00
core.c ARM: bcmring: fix UART declarations 2012-04-18 21:21:45 -07:00
core.h ARM: 6912/1: bcmring: Add clkdev table in init_early 2011-05-23 18:04:54 +01:00
dma_device.c ARM: 5647/1: bcmring: add bcmring dma.h and dma_device.c 2009-08-15 16:01:40 +01:00
dma.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-03-20 21:12:50 -07:00
irq.c Remove unneeded version.h includes from arch/arm/ 2011-09-15 14:57:06 +02:00
Kconfig bcmring: drop commented out line in Kconfig 2011-10-06 17:50:47 +02:00
Makefile ARM: 5642/1: bcmring: add Makefile/Kconfig/Makefile.boot in mach-bcmring 2009-08-15 16:01:50 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
mm.c arm: fix implicit use of page.h in several arch/arm files 2011-10-31 19:30:46 -04:00
timer.c Remove unneeded version.h includes from arch/arm/ 2011-09-15 14:57:06 +02:00