static void usb_create_ep_files(struct kobject *kobj, struct usb_host_endpoint *endpoint, struct usb_device *udev)
static void usb_create_ep_files(struct kobject *parent, struct usb_host_endpoint *endpoint, struct usb_device *udev)
static void usb_create_ep_files(struct kobject *kobj, struct usb_host_endpoint *endpoint, struct usb_device *udev){	struct usb_endpoint_descriptor *ep;	ep = &endpoint->desc;	endpoint->attrs = kzalloc(sizeof(struct attribute *) * 10, GFP_KERNEL);	endpoint->attrs[0] = &(create_ep_attr(ep, udev, "direction", show_ep_direction)->dev_attr.attr);	endpoint->attrs[1] = &(create_ep_attr(ep, udev, "type", show_ep_type)->dev_attr.attr);	endpoint->attrs[2] = &(create_ep_attr(ep, udev, "bLength", show_ep_bLength)->dev_attr.attr);	endpoint->attrs[3] = &(create_ep_attr(ep, udev, "bDescriptorType", show_ep_bDescriptorType)->dev_attr.attr);	endpoint->attrs[4] = &(create_ep_attr(ep, udev, "bEndpointAddress", show_ep_bEndpointAddress)->dev_attr.attr);	endpoint->attrs[5] = &(create_ep_attr(ep, udev, "bmAttributes", show_ep_bmAttributes)->dev_attr.attr);	endpoint->attrs[6] = &(create_ep_attr(ep, udev, "wMaxPacketSize", show_ep_wMaxPacketSize)->dev_attr.attr);	endpoint->attrs[7] = &(create_ep_attr(ep, udev, "bInterval", show_ep_bInterval)->dev_attr.attr);	endpoint->attrs[8] = &(create_ep_attr(ep, udev, "interval", show_ep_interval)->dev_attr.attr);	endpoint->attrs[9] = NULL;	endpoint->num_attrs = 9;	endpoint->attr_group = kzalloc(sizeof(*endpoint->attr_group), GFP_KERNEL);	endpoint->attr_name = kzalloc(10, GFP_KERNEL);	sprintf(endpoint->attr_name, "ep_%02x", endpoint->desc.bEndpointAddress);	endpoint->attr_group->attrs = endpoint->attrs;	endpoint->attr_group->name = endpoint->attr_name;	sysfs_create_group(kobj, endpoint->attr_group);}