sparc: fix warning in userspace header jsflash.h
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>
Signed-off-by Sam Ravnborg <[email protected]>
--- arch/sparc/include/asm/jsflash.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/include/asm/jsflash.h +1 -1
@@ -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
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>Signed-off-by Sam Ravnborg <[email protected]>
Applied.