From: Antony Pavlov <antonynpavlov@gmail.com>
To: linux-mips@linux-mips.org
Cc: Ralf Baechle <ralf@linux-mips.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Antony Pavlov <antonynpavlov@gmail.com>
Subject: [PATCH 2/2] MIPS: JZ4740: add missing header file to serial.h
Date: Tue, 16 Oct 2012 01:38:47 +0400 [thread overview]
Message-ID: <1350337127-11315-2-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1350337127-11315-1-git-send-email-antonynpavlov@gmail.com>
The 'uart_port' struct is used in the declaration of
the jz4740_serial_out() function.
This commit adds the missing header file containing
declaration of the 'uart_port' struct.
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
arch/mips/jz4740/serial.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/jz4740/serial.h b/arch/mips/jz4740/serial.h
index aa5a939..dfc155c 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__
+#include <linux/serial_core.h>
+
void jz4740_serial_out(struct uart_port *p, int offset, int value);
#endif
--
1.7.10.4
next prev parent reply other threads:[~2012-10-15 21:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-15 21:38 [PATCH 1/2] MIPS: JZ4740: fix '#include guard' in serial.h Antony Pavlov
2012-10-15 21:38 ` Antony Pavlov [this message]
2012-10-16 8:19 ` [PATCH 2/2] MIPS: JZ4740: add missing header file to serial.h Geert Uytterhoeven
2012-10-17 15:03 ` Ralf Baechle
2012-10-17 14:59 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1350337127-11315-2-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=lars@metafoo.de \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox