]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
headers_check fix: arm, swab.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sat, 31 Jan 2009 05:13:44 +0000 (10:43 +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-arm/swab.h:19: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm-arm/swab.h:25: found __[us]{8,16,32,64} type without #include <linux/types.h>

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

index 27a689be085640b2755872e647e689fefd0fc065..ca2bf2f6d6ea93c29d312525b89aceb9d30134f3 100644 (file)
@@ -16,7 +16,7 @@
 #define __ASM_ARM_SWAB_H
 
 #include <linux/compiler.h>
-#include <asm/types.h>
+#include <linux/types.h>
 
 #if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
 #  define __SWAB_64_THRU_32__