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

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

index a14aa5b46d98c39d32f6c1eed8b8dca37f6897ee..14cc737bbca6e909dbd7ec44d36703731f8ca519 100644 (file)
@@ -4,7 +4,7 @@
 #ifndef __ASM_AVR32_SWAB_H
 #define __ASM_AVR32_SWAB_H
 
-#include <asm/types.h>
+#include <linux/types.h>
 #include <linux/compiler.h>
 
 #define __SWAB_64_THRU_32__