: sparc: arch/sparc/kernel/pmc.c -- extra #include?
David Miller
maintainerPATCH 1/1 : sparc: arch/sparc/kernel/pmc.c -- extra #include?
I just applied the following patch sent to me privately from David Brownell to sparc-next-2.6
From: David Brownell <[email protected]>
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> ...
--- arch/sparc/kernel/pmc.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
arch/sparc/kernel/pmc.c +0 -2
@@ -8,7 +8,6 @@#include <linux/fs.h> #include <linux/errno.h> #include <linux/init.h> -#include <linux/miscdevice.h> #include <linux/pm.h> #include <linux/of.h> #include <linux/of_device.h>
@@ -24,7 +23,6 @@* #define PMC_NO_IDLE */ -#define PMC_MINOR MISC_DYNAMIC_MINOR#define PMC_OBPNAME "SUNW,pmc"#define PMC_DEVNAME "pmc"
Signature · 1 line
1.5.6.5
PMC contains a backlight control for the Voyager display; ioctl support for controlling it was prototyped but never integrated into the driver, so removal of the miscdevice support is fair.
E
Quoted 44 lines · David Miller
I just applied the following patch sent to me privately from David Brownell to sparc-next-2.6
From: David Brownell <[email protected]>
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 <[email protected]>--- arch/sparc/kernel/pmc.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)arch/sparc/kernel/pmc.c +0
-3@@ -8,7 +8,6 @@#include <linux/fs.h> #include <linux/errno.h> #include <linux/init.h> -#include <linux/miscdevice.h> #include <linux/pm.h> #include <linux/of.h> #include <linux/of_device.h> @@ -24,7 +23,6 @@* #define PMC_NO_IDLE */ -#define PMC_MINOR MISC_DYNAMIC_MINOR#define PMC_OBPNAME "SUNW,pmc"#define PMC_DEVNAME "pmc" --1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
E