From: viresh.kumar@st.com (Viresh Kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] amba/serial.h: Include types.h for resolving dependency of type bool
Date: Thu, 16 Feb 2012 16:30:59 +0530 [thread overview]
Message-ID: <4F3CE1EB.8080306@st.com> (raw)
In-Reply-To: <c2d85148580bc2ffa4417dac8b8383669a68d918.1325659906.git.viresh.kumar@st.com>
On 1/4/2012 12:22 PM, Viresh KUMAR wrote:
> serial.h uses bool, but its definition is missing, as it doesn't include
> types.h. Fix this by including types.h
>
> Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
> ---
> include/linux/amba/serial.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/amba/serial.h b/include/linux/amba/serial.h
> index 514ed45..d117b29 100644
> --- a/include/linux/amba/serial.h
> +++ b/include/linux/amba/serial.h
> @@ -23,6 +23,8 @@
> #ifndef ASM_ARM_HARDWARE_SERIAL_AMBA_H
> #define ASM_ARM_HARDWARE_SERIAL_AMBA_H
>
> +#include <linux/types.h>
> +
> /* -------------------------------------------------------------------------------
> * From AMBA UART (PL010) Block Specification
> * -------------------------------------------------------------------------------
Any feedback?
--
viresh
prev parent reply other threads:[~2012-02-16 11:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 6:52 [PATCH] amba/serial.h: Include types.h for resolving dependency of type bool Viresh Kumar
2012-02-16 11:00 ` Viresh Kumar [this message]
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=4F3CE1EB.8080306@st.com \
--to=viresh.kumar@st.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).