Эх сурвалжийг харах

sparc: arch/sparc/kernel/pmc.c -- extra #include?

I have no SPARC compiler handy to verify, but it looks like this
is another file that doesn't need <linux/miscdevices.h> ...

Signed-off-by: David S. Miller <davem@davemloft.net>
David Brownell 16 жил өмнө
parent
commit
a1cd0464c6

+ 0 - 2
arch/sparc/kernel/pmc.c

@@ -8,7 +8,6 @@
 #include <linux/fs.h>
 #include <linux/fs.h>
 #include <linux/errno.h>
 #include <linux/errno.h>
 #include <linux/init.h>
 #include <linux/init.h>
-#include <linux/miscdevice.h>
 #include <linux/pm.h>
 #include <linux/pm.h>
 #include <linux/of.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_device.h>
@@ -24,7 +23,6 @@
  * #define PMC_NO_IDLE
  * #define PMC_NO_IDLE
  */
  */
 
 
-#define PMC_MINOR	MISC_DYNAMIC_MINOR
 #define PMC_OBPNAME	"SUNW,pmc"
 #define PMC_OBPNAME	"SUNW,pmc"
 #define PMC_DEVNAME "pmc"
 #define PMC_DEVNAME "pmc"