History

headers_check fix: linux/auto_fs.h

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>

Jaswinder Singh Rajput committed 17 years ago

Commit 52bb25a1 parent 32189111 file · +1 −2Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/linux/auto_fs.h+1−2
@@ -14,13 +14,12 @@ · 13 unmodified lines
14#ifndef _LINUX_AUTO_FS_H14#ifndef _LINUX_AUTO_FS_H
15#define _LINUX_AUTO_FS_H15#define _LINUX_AUTO_FS_H
16 16
17#include <linux/types.h>
17#ifdef __KERNEL__18#ifdef __KERNEL__
18#include <linux/fs.h>19#include <linux/fs.h>
19#include <linux/limits.h>20#include <linux/limits.h>
20#include <linux/types.h>
21#include <linux/ioctl.h>21#include <linux/ioctl.h>
22#else22#else
23#include <asm/types.h>
24#include <sys/ioctl.h>23#include <sys/ioctl.h>
25#endif /* __KERNEL__ */24#endif /* __KERNEL__ */
26 25