Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sam Ravnborg and committed by
David S. Miller
2ef4c01e 7c59d28d

+1 -1
+1 -1
arch/sparc/include/asm/jsflash.h
··· 8 8 #define _SPARC_JSFLASH_H 9 9 10 10 #ifndef _SPARC_TYPES_H 11 - #include <asm/types.h> 11 + #include <linux/types.h> 12 12 #endif 13 13 14 14 /*