diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-08-29 15:22:17 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:32:29 -0400 |
commit | 1986c93f09c98628d68bec773c16322fb5b88c38 (patch) | |
tree | 8b4dbefe8855b94acaa01065ea084fedca47a0c0 /include/linux/miscdevice.h | |
parent | bb2eac66ee0e8023432e8b0ff13b75e47be199e9 (diff) |
miscdevice.h: fix up implicit use of lists and types
By removing the implicit presence of module.h from this file, we
will see things like:
In file included from fs/dlm/user.c:9:
include/linux/miscdevice.h:50: error: field ‘list’ has incomplete type
include/linux/miscdevice.h:54: error: expected specifier-qualifier-list before ‘mode_t’
Call out lists.h and types.h for inclusion to fix each of the
above respectively.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'include/linux/miscdevice.h')
-rw-r--r-- | include/linux/miscdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 8526e91d764f..c41d7270c6c6 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _LINUX_MISCDEVICE_H | 1 | #ifndef _LINUX_MISCDEVICE_H |
2 | #define _LINUX_MISCDEVICE_H | 2 | #define _LINUX_MISCDEVICE_H |
3 | #include <linux/major.h> | 3 | #include <linux/major.h> |
4 | #include <linux/list.h> | ||
5 | #include <linux/types.h> | ||
4 | 6 | ||
5 | /* | 7 | /* |
6 | * These allocations are managed by device@lanana.org. If you use an | 8 | * These allocations are managed by device@lanana.org. If you use an |