Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1986c93f authored by Paul Gortmaker's avatar Paul Gortmaker
Browse files

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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent bb2eac66
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
#ifndef _LINUX_MISCDEVICE_H
#ifndef _LINUX_MISCDEVICE_H
#define _LINUX_MISCDEVICE_H
#define _LINUX_MISCDEVICE_H
#include <linux/major.h>
#include <linux/major.h>
#include <linux/list.h>
#include <linux/types.h>


/*
/*
 *	These allocations are managed by device@lanana.org. If you use an
 *	These allocations are managed by device@lanana.org. If you use an