瀏覽代碼

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>
Sam Ravnborg 16 年之前
父節點
當前提交
2ef4c01e18
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sparc/include/asm/jsflash.h

+ 1 - 1
arch/sparc/include/asm/jsflash.h

@@ -8,7 +8,7 @@
 #define _SPARC_JSFLASH_H
 
 #ifndef _SPARC_TYPES_H
-#include <asm/types.h>
+#include <linux/types.h>
 #endif
 
 /*