mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
7c59d28d0e
commit
2ef4c01e18
|
@ -8,7 +8,7 @@
|
||||||
#define _SPARC_JSFLASH_H
|
#define _SPARC_JSFLASH_H
|
||||||
|
|
||||||
#ifndef _SPARC_TYPES_H
|
#ifndef _SPARC_TYPES_H
|
||||||
#include <asm/types.h>
|
#include <linux/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue