]> err.no Git - linux-2.6/blobdiff - drivers/usb/core/urb.c
[PATCH] dmi: remove uneeded function
[linux-2.6] / drivers / usb / core / urb.c
index 0faf18d511de607f4d665a3ed1075ab6238dc7f7..c0feee25ff0a8ddce3ee8f8b19a6d77f82c17603 100644 (file)
@@ -60,7 +60,7 @@ void usb_init_urb(struct urb *urb)
  *
  * The driver must call usb_free_urb() when it is finished with the urb.
  */
-struct urb *usb_alloc_urb(int iso_packets, int mem_flags)
+struct urb *usb_alloc_urb(int iso_packets, unsigned mem_flags)
 {
        struct urb *urb;
 
@@ -224,7 +224,7 @@ struct urb * usb_get_urb(struct urb *urb)
  *      GFP_NOIO, unless b) or c) apply
  *
  */
-int usb_submit_urb(struct urb *urb, int mem_flags)
+int usb_submit_urb(struct urb *urb, unsigned mem_flags)
 {
        int                     pipe, temp, max;
        struct usb_device       *dev;