aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/jz4740
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-10-17 17:00:50 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-10-17 17:00:50 +0200
commita12265400c18e6e67d444f05fec3a792a2f87c10 (patch)
tree294eaf0ced8a8866dc2a15a110c3b6ade7a7d0b3 /arch/mips/jz4740
parentMIPS: JZ4740: Fix '#include guard' in serial.h (diff)
downloadlinux-dev-a12265400c18e6e67d444f05fec3a792a2f87c10.tar.xz
linux-dev-a12265400c18e6e67d444f05fec3a792a2f87c10.zip
MIPS: JZ4740: Forward declare struct uart_port in header.
As suggested by Geert Uytterhoeven <geert@linux-m68k.org>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Antony Pavlov <antonynpavlov@gmail.com> Cc: linux-mips@linux-mips.org Cc: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'arch/mips/jz4740')
-rw-r--r--arch/mips/jz4740/serial.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/jz4740/serial.h b/arch/mips/jz4740/serial.h
index aa5a93982c4d..8eb715bb1ea8 100644
--- a/arch/mips/jz4740/serial.h
+++ b/arch/mips/jz4740/serial.h
@@ -16,6 +16,8 @@
#ifndef __MIPS_JZ4740_SERIAL_H__
#define __MIPS_JZ4740_SERIAL_H__
+struct uart_port;
+
void jz4740_serial_out(struct uart_port *p, int offset, int value);
#endif