]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sparc: fix warning in userspace header jsflash.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 3 Jan 2009 05:31:13 +0000 (21:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jan 2009 05:31:13 +0000 (21:31 -0800)
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>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/jsflash.h

index 3457f29bd73bb6d8e944e9af1c008b9b635423d4..0717d9e39d2d175a8c7f8a7d043ee0a997a1ff96 100644 (file)
@@ -8,7 +8,7 @@
 #define _SPARC_JSFLASH_H
 
 #ifndef _SPARC_TYPES_H
-#include <asm/types.h>
+#include <linux/types.h>
 #endif
 
 /*