aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-20 02:59:31 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-21 18:04:19 -0400
commitc182274ffe1277f4e7c564719a696a37cacf74ea (patch)
tree0e9df4d75ff12dcefad3058b3509b2f2b09202bc /include/linux/usb.h
parent9bde7497e0b54178c317fac47a18be7f948dd471 (diff)
[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/linux/usb.h')
-rw-r--r--include/linux/usb.h2
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 {
360 char *serial; /* iSerialNumber string, if present */ 360 char *serial; /* iSerialNumber string, if present */
361 361
362 struct list_head filelist; 362 struct list_head filelist;
363 struct class_device *class_dev; 363 struct device *usbfs_dev;
364 struct dentry *usbfs_dentry; /* usbfs dentry entry for the device */ 364 struct dentry *usbfs_dentry; /* usbfs dentry entry for the device */
365 365
366 /* 366 /*