]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
headers_check fix: blackfin, swab.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sat, 31 Jan 2009 05:18:44 +0000 (10:48 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 1 Feb 2009 05:31:23 +0000 (11:01 +0530)
fix the following 'make headers_check' warnings:

  usr/include/asm-blackfin/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-blackfin/swab.h:13: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
arch/blackfin/include/asm/swab.h

index 69a051b612bd2dfaaa107eccd838804f05c749bb..6403ad2932ebd0efe539f1b16a87325d7aa015a3 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _BLACKFIN_SWAB_H
 #define _BLACKFIN_SWAB_H
 
-#include <asm/types.h>
+#include <linux/types.h>
 #include <linux/compiler.h>
 
 #if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)