[ARM] 5543/1: arm: serial amba: add missing declaration in serial.h
authorAlessandro Rubini <rubini@gnudd.com>
Sat, 6 Jun 2009 09:17:57 +0000 (10:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 7 Jun 2009 15:19:47 +0000 (16:19 +0100)
commitaa853f85d9ed593672d0f24a98c72a2518cb63e6
treee86a9c1c224a918802c421336ad411742c8f8a2e
parent754c0f9a95b685163cfa9ea3ba9bd48310f9b06f
[ARM] 5543/1: arm: serial amba: add missing declaration in serial.h

This header is sometimes included in the uncompress stage to get
register values, but no <linux/amba/bus.h> can be included there.
So declare "struct amba_device" here before using it in a prototype.

Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/linux/amba/serial.h