diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-07-27 16:16:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 14:51:59 -0800 |
commit | 94fbcded4ea0dc14cbfb222a5c68372f150d1476 (patch) | |
tree | fcbf2d5f71a9993666a1c8d1883273f8046f8625 /include/linux | |
parent | cd15422b9f39155e2d9ea56ae95c6f62aa5df42e (diff) | |
download | linux-3.10-94fbcded4ea0dc14cbfb222a5c68372f150d1476.tar.gz linux-3.10-94fbcded4ea0dc14cbfb222a5c68372f150d1476.tar.bz2 linux-3.10-94fbcded4ea0dc14cbfb222a5c68372f150d1476.zip |
Driver core: change misc class_devices to be real devices
This also ment that some of the misc drivers had to also be fixed
up as they were assuming the device was a class_device.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/miscdevice.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index b03cfb91e22..326da7d500c 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -31,15 +31,14 @@ #define HPET_MINOR 228 struct device; -struct class_device; struct miscdevice { int minor; const char *name; const struct file_operations *fops; struct list_head list; - struct device *dev; - struct class_device *class; + struct device *parent; + struct device *this_device; }; extern int misc_register(struct miscdevice * misc); |