mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration
@ 2014-05-22  5:19 Antony Pavlov
  2014-05-22  5:19 ` [PATCH 2/2] usb: drop unused USB_UHCI_*_ID macros Antony Pavlov
  2014-05-22  6:12 ` [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Antony Pavlov @ 2014-05-22  5:19 UTC (permalink / raw)
  To: barebox

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

Signed-off-by: Antony Pavlov <antonynpavlov@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] usb: drop unused USB_UHCI_*_ID macros
  2014-05-22  5:19 [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration Antony Pavlov
@ 2014-05-22  5:19 ` Antony Pavlov
  2014-05-22  6:12 ` [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Antony Pavlov @ 2014-05-22  5:19 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 include/usb/usb.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/usb/usb.h b/include/usb/usb.h
index b4ac4ba..6f5a351 100644
--- a/include/usb/usb.h
+++ b/include/usb/usb.h
@@ -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);
-- 
1.9.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration
  2014-05-22  5:19 [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration Antony Pavlov
  2014-05-22  5:19 ` [PATCH 2/2] usb: drop unused USB_UHCI_*_ID macros Antony Pavlov
@ 2014-05-22  6:12 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2014-05-22  6:12 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-22  6:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-22  5:19 [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration Antony Pavlov
2014-05-22  5:19 ` [PATCH 2/2] usb: drop unused USB_UHCI_*_ID macros Antony Pavlov
2014-05-22  6:12 ` [PATCH 1/2] usb: remove unimplemented usb_get_dev_index() declaration Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox