[PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration
Antony Pavlov
antonynpavlov at gmail.com
Wed May 21 22:19:11 PDT 2014
We do not have usb_get_dev_index() function, so remove this declaration.
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
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
More information about the barebox
mailing list