Skip to contentSkip to conversation

removing compilation warning from pl061.h

PATCH New Viresh KUMAR 2 participants 2 messages Mar 26, 2010 – Mar 27, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 removing compilation warning from pl061.h

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

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

PATCH 1/1 removing compilation warning from pl061.h

Hi Viresh,

Quoted 4 lines · Viresh KUMAR

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

baruch

Quoted 14 lines
---
 include/linux/amba/pl061.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/amba/pl061.h +2 -0
index b4fbd98..5ddd9ad 100644
@@ -1,3 +1,5 @@
+#include <linux/types.h>
+
 /* platform data for the PL061 GPIO driver */
 
 struct pl061_platform_data {
Signature · 3 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -