Skip to contentSkip to conversation

sparc: fix warning in userspace header jsflash.h

PATCH Applied Sam Ravnborg 2 participants 2 messages Jan 1, 2009 – Jan 3, 2009 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 sparc: fix warning in userspace header jsflash.h

Fix following warnings in jsflash.h:

jsflash.h:11: include of <linux/types.h> is preferred over <asm/types.h> jsflash.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h>

Fixed by changing the include to <linux/types.h>

---
 arch/sparc/include/asm/jsflash.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/include/asm/jsflash.h +1 -1
index 3457f29..0717d9e 100644
@@ -8,7 +8,7 @@
 #define _SPARC_JSFLASH_H
 
 #ifndef _SPARC_TYPES_H
-#include <asm/types.h>
+#include <linux/types.h>
 #endif
 
 /*
Signature · 1 line
1.6.0.2.GIT
maintainer Applied
#1 lore raw

From: Sam Ravnborg <[email protected]>
Date: Thu, 1 Jan 2009 23:40:27 +0100

Quoted 8 lines

Fix following warnings in jsflash.h:

jsflash.h:11: include of <linux/types.h> is preferred over <asm/types.h> jsflash.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h>

Fixed by changing the include to <linux/types.h>

Applied.