linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] removing compilation warning from pl061.h
@ 2010-03-26 10:08 Viresh KUMAR
  2010-03-27 19:57 ` Baruch Siach
  0 siblings, 1 reply; 2+ messages in thread
From: Viresh KUMAR @ 2010-03-26 10:08 UTC (permalink / raw)
  To: linux-arm-kernel

pl061.h is using u8 type. including <linux/types.h> in pl061.h to avoid
warning.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
---
 include/linux/amba/pl061.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/amba/pl061.h b/include/linux/amba/pl061.h
index b4fbd98..5ddd9ad 100644
--- a/include/linux/amba/pl061.h
+++ b/include/linux/amba/pl061.h
@@ -1,3 +1,5 @@
+#include <linux/types.h>
+
 /* platform data for the PL061 GPIO driver */
 
 struct pl061_platform_data {
-- 
1.6.0.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] removing compilation warning from pl061.h
  2010-03-26 10:08 [PATCH] removing compilation warning from pl061.h Viresh KUMAR
@ 2010-03-27 19:57 ` Baruch Siach
  0 siblings, 0 replies; 2+ messages in thread
From: Baruch Siach @ 2010-03-27 19:57 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Viresh,

On Fri, Mar 26, 2010 at 03:38:10PM +0530, Viresh KUMAR wrote:
> pl061.h is using u8 type. including <linux/types.h> in pl061.h to avoid
> warning.
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@st.com>

Acked-by: Baruch Siach <baruch@tkos.co.il>

baruch

> ---
>  include/linux/amba/pl061.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/include/linux/amba/pl061.h b/include/linux/amba/pl061.h
> index b4fbd98..5ddd9ad 100644
> --- a/include/linux/amba/pl061.h
> +++ b/include/linux/amba/pl061.h
> @@ -1,3 +1,5 @@
> +#include <linux/types.h>
> +
>  /* platform data for the PL061 GPIO driver */
>  
>  struct pl061_platform_data {

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-27 19:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 10:08 [PATCH] removing compilation warning from pl061.h Viresh KUMAR
2010-03-27 19:57 ` Baruch Siach

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).