--- linux-2.6.19.2/drivers/usb/core/usb.h 2007-01-11 08:38:19.000000000 +0100 +++ linux-2.6.19.2/drivers/usb/core/usb.h 2013-02-03 00:08:09.836952168 +0100 @@ -1,10 +1,11 @@ /* Functions local to drivers/usb/core/ */ +#define usb_create_ep_files(x,y,z) ({ printk("usb_create_ep_files_X(): %s:%d @%s\n",__FILE__,__LINE__,__FUNCTION__); usb_create_ep_files_X(x,y,z); }) extern int usb_create_sysfs_dev_files (struct usb_device *dev); extern void usb_remove_sysfs_dev_files (struct usb_device *dev); extern int usb_create_sysfs_intf_files (struct usb_interface *intf); extern void usb_remove_sysfs_intf_files (struct usb_interface *intf); -extern int usb_create_ep_files(struct device *parent, struct usb_host_endpoint *endpoint, +extern int usb_create_ep_files_X(struct device *parent, struct usb_host_endpoint *endpoint, struct usb_device *udev); extern void usb_remove_ep_files(struct usb_host_endpoint *endpoint); --- linux-2.6.19.2/drivers/usb/core/endpoint.c 2007-01-11 08:38:19.000000000 +0100 +++ linux-2.6.19.2/drivers/usb/core/endpoint.c 2013-02-03 00:03:59.647293193 +0100 @@ -207,7 +207,7 @@ kfree(ep_dev); } -int usb_create_ep_files(struct device *parent, +int usb_create_ep_files_X(struct device *parent, struct usb_host_endpoint *endpoint, struct usb_device *udev) {