linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / usb.h
index e34e5e3..827cc6d 100644 (file)
@@ -615,7 +615,7 @@ extern struct bus_type usb_bus_type;
  */
 struct usb_class_driver {
        char *name;
-       const struct file_operations *fops;
+       struct file_operations *fops;
        int minor_base;
 };
 
@@ -1018,6 +1018,8 @@ extern int usb_get_descriptor(struct usb_device *dev, unsigned char desctype,
        unsigned char descindex, void *buf, int size);
 extern int usb_get_status(struct usb_device *dev,
        int type, int target, void *data);
+extern int usb_get_string(struct usb_device *dev,
+       unsigned short langid, unsigned char index, void *buf, int size);
 extern int usb_string(struct usb_device *dev, int index,
        char *buf, size_t size);