irda: irnet: Move linux/miscdevice.h include
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Thu, 15 Dec 2016 10:42:47 +0000 (11:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 16:16:31 +0000 (11:16 -0500)
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>
net/irda/irnet/irnet.h
net/irda/irnet/irnet_ppp.h

index 8d65bb9477fce626c7e781c0d38d78b488b5271c..c69f0f38f5669de49c7db9ac038a7b8dbe8ff664 100644 (file)
 #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() */
index 940225866da09a6133af23d0c776928a37daf7dd..693ebc08fa2e0207423d5a44321719c12f518684 100644 (file)
@@ -15,6 +15,7 @@
 /***************************** INCLUDES *****************************/
 
 #include "irnet.h"             /* Module global include */
+#include <linux/miscdevice.h>
 
 /************************ CONSTANTS & MACROS ************************/