irda: irnet: Move linux/miscdevice.h include
The only use of miscdevice is irda_ppp so no need to include linux/miscdevice.h for all irda files. This patch move the linux/miscdevice.h include to irnet_ppp.h Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
078497a4d9
Коммит
e292823559
|
@ -245,7 +245,6 @@
|
|||
#include <linux/tty.h>
|
||||
#include <linux/proc_fs.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/miscdevice.h>
|
||||
#include <linux/poll.h>
|
||||
#include <linux/capability.h>
|
||||
#include <linux/ctype.h> /* isspace() */
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
/***************************** INCLUDES *****************************/
|
||||
|
||||
#include "irnet.h" /* Module global include */
|
||||
#include <linux/miscdevice.h>
|
||||
|
||||
/************************ CONSTANTS & MACROS ************************/
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче