Re: [PATCH] USB and Driver Core patches for 2.6.10

Greg KH
2005-01-08T07:41:15Z

ChangeSet 1.1938.444.2, 2004/12/15 10:49:05-08:00, greg@kroah.com

[PATCH] misc: remove device.h #include from miscdevice.h

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

include/linux/miscdevice.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/include/linux/miscdevice.h b/include/linux/miscdevice.h
--- a/include/linux/miscdevice.h 2005-01-07 15:52:00 -08:00
+++ b/include/linux/miscdevice.h 2005-01-07 15:52:00 -08:00
@@ -2,7 +2,6 @@
#define _LINUX_MISCDEVICE_H
#include <linux/module.h>
#include <linux/major.h>
-#include <linux/device.h>

#define PSMOUSE_MINOR 1
#define MS_BUSMOUSE_MINOR 2
@@ -32,6 +31,7 @@
#define HPET_MINOR 228

struct device;
+struct class_device;

struct miscdevice {
int minor;