miscdevice.h: fix up implicit use of lists and types
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 29 Aug 2011 19:22:17 +0000 (15:22 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:29 +0000 (19:32 -0400)
commit1986c93f09c98628d68bec773c16322fb5b88c38
tree8b4dbefe8855b94acaa01065ea084fedca47a0c0
parentbb2eac66ee0e8023432e8b0ff13b75e47be199e9
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>
include/linux/miscdevice.h