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>
Unified · Split
| @@ -14,13 +14,12 @@ · 13 unmodified lines | |||
| 14 | #ifndef _LINUX_AUTO_FS_H | 14 | #ifndef _LINUX_AUTO_FS_H |
| 15 | #define _LINUX_AUTO_FS_H | 15 | #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 | #else | 22 | #else |
| 23 | #include <asm/types.h> | ||
| 24 | #include <sys/ioctl.h> | 23 | #include <sys/ioctl.h> |
| 25 | #endif /* __KERNEL__ */ | 24 | #endif /* __KERNEL__ */ |
| 26 | 25 | ||