diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-20 10:59:31 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 02:04:19 +0400 |
commit | c182274ffe1277f4e7c564719a696a37cacf74ea (patch) | |
tree | 0e9df4d75ff12dcefad3058b3509b2f2b09202bc /include | |
parent | 9bde7497e0b54178c317fac47a18be7f948dd471 (diff) | |
download | linux-c182274ffe1277f4e7c564719a696a37cacf74ea.tar.xz |
[PATCH] USB: move usb_device_class class devices to be real devices
This moves the usb class devices that control the usbfs nodes to show up
in the proper place in the larger device tree.
No userspace changes is needed, this is compatible due to the symlinks
generated by the driver core.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 46956a72de5d..b69b6cfb0bd7 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -360,7 +360,7 @@ struct usb_device { char *serial; /* iSerialNumber string, if present */ struct list_head filelist; - struct class_device *class_dev; + struct device *usbfs_dev; struct dentry *usbfs_dentry; /* usbfs dentry entry for the device */ /* |