Commit 7b0c8bb4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix up previous sysfs patch to actually compile...

parent 7775f7ea
...@@ -140,7 +140,7 @@ show_maxchild (struct device *dev, char *buf) ...@@ -140,7 +140,7 @@ show_maxchild (struct device *dev, char *buf)
udev = to_usb_device (dev); udev = to_usb_device (dev);
return sprintf (buf, "%d\n", udev->maxchild); return sprintf (buf, "%d\n", udev->maxchild);
} }
static DEVICE_ATTR(maxChild, S_IRUGO, show_maxchild, NULL); static DEVICE_ATTR(maxchild, S_IRUGO, show_maxchild, NULL);
/* Descriptor fields */ /* Descriptor fields */
#define usb_descriptor_attr(field, format_string) \ #define usb_descriptor_attr(field, format_string) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment