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

From: Greg KH
Date: Sat Jan 08 2005 - 02:45:08 EST


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

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

Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/