Commit e2928235 authored by LABBE Corentin's avatar LABBE Corentin Committed by David S. Miller

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: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 078497a4
...@@ -245,7 +245,6 @@ ...@@ -245,7 +245,6 @@
#include <linux/tty.h> #include <linux/tty.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/miscdevice.h>
#include <linux/poll.h> #include <linux/poll.h>
#include <linux/capability.h> #include <linux/capability.h>
#include <linux/ctype.h> /* isspace() */ #include <linux/ctype.h> /* isspace() */
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
/***************************** INCLUDES *****************************/ /***************************** INCLUDES *****************************/
#include "irnet.h" /* Module global include */ #include "irnet.h" /* Module global include */
#include <linux/miscdevice.h>
/************************ CONSTANTS & MACROS ************************/ /************************ CONSTANTS & MACROS ************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment