Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

headers_check fix: blackfin, swab.h

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>

+1 -1
+1 -1
arch/blackfin/include/asm/swab.h
··· 1 1 #ifndef _BLACKFIN_SWAB_H 2 2 #define _BLACKFIN_SWAB_H 3 3 4 - #include <asm/types.h> 4 + #include <linux/types.h> 5 5 #include <linux/compiler.h> 6 6 7 7 #if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)