Skip to contentSkip to conversation

usb: remove unimplemented usb_get_dev_index() declaration

PATCH Applied Antony Pavlov 2 participants 3 messages May 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 usb: remove unimplemented usb_get_dev_index() declaration

We do not have usb_get_dev_index() function, so remove this declaration.

---
 include/usb/usb.h | 1 -
 1 file changed, 1 deletion(-)
include/usb/usb.h +0 -1
index 9319f2e..b4ac4ba 100644
@@ -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,
Signature · 7 lines
1.9.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 usb: drop unused USB_UHCI_*_ID macros

---
 include/usb/usb.h | 4 ----
 1 file changed, 4 deletions(-)
include/usb/usb.h +0 -4
index b4ac4ba..6f5a351 100644
@@ -219,10 +219,6 @@ int usb_register_host(struct usb_host *);
 
 int usb_host_detect(struct usb_host *host, int force);
 
-/* Defines */
-#define USB_UHCI_VEND_ID	0x8086
-#define USB_UHCI_DEV_ID		0x7112
-
 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);
Signature · 7 lines
1.9.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#2 lore raw
In reply to Antony Pavlov
Quoted 3 lines · Antony Pavlov

We do not have usb_get_dev_index() function, so remove this declaration.

Applied, thanks

Sascha

Quoted 25 lines
---
 include/usb/usb.h | 1 -
 1 file changed, 1 deletion(-)
include/usb/usb.h +0 -1
index 9319f2e..b4ac4ba 100644
@@ -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,
Signature · 7 lines
1.9.2


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox