]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
headers_check fix: nfsd/nfsfh.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 14:34:03 +0000 (20:04 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 14:34:03 +0000 (20:04 +0530)
fix the following 'make headers_check' warnings:

  usr/include/linux/nfsd/nfsfh.h:17: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/linux/nfsd/nfsfh.h:28: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
include/linux/nfsd/nfsfh.h

index b2e093870bc6c7060bf74b23dec745e7cfd5a76e..fa317f6c154b168286905d40ca3b9aae9918cf0e 100644 (file)
@@ -14,9 +14,8 @@
 #ifndef _LINUX_NFSD_FH_H
 #define _LINUX_NFSD_FH_H
 
-#include <asm/types.h>
-#ifdef __KERNEL__
 # include <linux/types.h>
+#ifdef __KERNEL__
 # include <linux/string.h>
 # include <linux/fs.h>
 #endif