diff options
author | matt mooney <mfm@muteddisk.com> | 2011-05-26 17:17:09 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-08 00:56:11 +0400 |
commit | 7e485ee7f530bb8f5c02c2ae68d73ce7ee3dfad5 (patch) | |
tree | 66bb875e4fb1ce4fc6f911032470e8a1a79f5f1d /drivers/staging/usbip/userspace/libsrc/vhci_driver.h | |
parent | 5a285cf5233b261a11b69f0ecd1c912df8a41163 (diff) | |
download | linux-7e485ee7f530bb8f5c02c2ae68d73ce7ee3dfad5.tar.xz |
staging: usbip: userspace: change struct class_device to usbip_class_device
Rename class_device struct to avoid confusion and change member names.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/userspace/libsrc/vhci_driver.h')
-rw-r--r-- | drivers/staging/usbip/userspace/libsrc/vhci_driver.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/drivers/staging/usbip/userspace/libsrc/vhci_driver.h b/drivers/staging/usbip/userspace/libsrc/vhci_driver.h index cad8ad7586d9..3af41c582b3c 100644 --- a/drivers/staging/usbip/userspace/libsrc/vhci_driver.h +++ b/drivers/staging/usbip/userspace/libsrc/vhci_driver.h @@ -11,9 +11,9 @@ #define MAXNPORT 128 -struct class_device { - char clspath[SYSFS_PATH_MAX]; - char devpath[SYSFS_PATH_MAX]; +struct usbip_class_device { + char class_path[SYSFS_PATH_MAX]; + char dev_path[SYSFS_PATH_MAX]; }; struct usbip_imported_device { @@ -25,16 +25,19 @@ struct usbip_imported_device { uint8_t busnum; uint8_t devnum; - - struct dlist *cdev_list; /* list of class device */ + /* usbip_class_device list */ + struct dlist *cdev_list; struct usb_device udev; }; struct usbip_vhci_driver { char sysfs_mntpath[SYSFS_PATH_MAX]; - struct sysfs_device *hc_device; /* /sys/devices/platform/vhci_hcd */ - struct dlist *cdev_list; /* list of class device */ + /* /sys/devices/platform/vhci_hcd */ + struct sysfs_device *hc_device; + + /* usbip_class_device list */ + struct dlist *cdev_list; int nports; struct usbip_imported_device idev[MAXNPORT]; |