lkml.org 
[lkml]   [2009]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RESEND][PATCH 1/2 -tip] headers_check fix: linux/auto_fs.h
From
Date
On Wed, 2009-05-20 at 10:24 +0530, Jaswinder Singh Rajput wrote:
> fix the following 'make headers_check' warnings:
>
> usr/include/linux/auto_fs.h:17: include of <linux/types.h> is preferred over <asm/types.h>
>
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
> ---
> include/linux/auto_fs.h | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/include/linux/auto_fs.h b/include/linux/auto_fs.h
> index 6326585..7b09c83 100644
> --- a/include/linux/auto_fs.h
> +++ b/include/linux/auto_fs.h
> @@ -14,13 +14,12 @@
> #ifndef _LINUX_AUTO_FS_H
> #define _LINUX_AUTO_FS_H
>
> +#include <linux/types.h>
> #ifdef __KERNEL__
> #include <linux/fs.h>
> #include <linux/limits.h>
> -#include <linux/types.h>
> #include <linux/ioctl.h>
> #else
> -#include <asm/types.h>
> #include <sys/ioctl.h>
> #endif /* __KERNEL__ */
>



\
 
 \ /
  Last update: 2009-06-01 08:01    [from the cache]
©2003-2011 Jasper Spaans