We do not have usb_get_dev_index() function, so remove this declaration. Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> --- include/usb/usb.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/usb/usb.h b/include/usb/usb.h index 9319f2e..b4ac4ba 100644 --- a/include/usb/usb.h +++ b/include/usb/usb.h @@ -226,7 +226,6 @@ int usb_host_detect(struct usb_host *host, int force); int usb_set_protocol(struct usb_device *dev, int ifnum, int protocol); int usb_set_idle(struct usb_device *dev, int ifnum, int duration, int report_id); -struct usb_device *usb_get_dev_index(int index); int usb_control_msg(struct usb_device *dev, unsigned int pipe, unsigned char request, unsigned char requesttype, unsigned short value, unsigned short index, -- 1.9.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox