aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-01-31 12:02:14 +0530
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>2009-02-01 11:01:30 +0530
commit1ff8f739c7cc4eaa89b6ba986494f458ff7bdbef (patch)
tree2f8003f61b24e56821703240877ddc649524ab5a
parentheaders_check fix: powerpc, swab.h (diff)
downloadlinux-dev-1ff8f739c7cc4eaa89b6ba986494f458ff7bdbef.tar.xz
linux-dev-1ff8f739c7cc4eaa89b6ba986494f458ff7bdbef.zip
headers_check fix: xtensa, swab.h
fix the following 'make headers_check' warnings: usr/include/asm-xtensa/swab.h:14: include of <linux/types.h> is preferred over <asm/types.h> usr/include/asm-xtensa/swab.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
-rw-r--r--arch/xtensa/include/asm/swab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/swab.h b/arch/xtensa/include/asm/swab.h
index f50b697eb601..226a39162310 100644
--- a/arch/xtensa/include/asm/swab.h
+++ b/arch/xtensa/include/asm/swab.h
@@ -11,7 +11,7 @@
#ifndef _XTENSA_SWAB_H
#define _XTENSA_SWAB_H
-#include <asm/types.h>
+#include <linux/types.h>
#include <linux/compiler.h>
#define __SWAB_64_THRU_32__