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

Sascha Hauer s.hauer at pengutronix.de
Wed May 21 23:12:02 PDT 2014


On Thu, May 22, 2014 at 09:19:11AM +0400, Antony Pavlov wrote:
> We do not have usb_get_dev_index() function, so remove this declaration.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>

Applied, thanks

Sascha

> ---
>  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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 |



More information about the barebox mailing list