diff options
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index eb282b581546..724637792996 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -938,17 +938,17 @@ static inline void usb_fill_int_urb (struct urb *urb, | |||
938 | } | 938 | } |
939 | 939 | ||
940 | extern void usb_init_urb(struct urb *urb); | 940 | extern void usb_init_urb(struct urb *urb); |
941 | extern struct urb *usb_alloc_urb(int iso_packets, int mem_flags); | 941 | extern struct urb *usb_alloc_urb(int iso_packets, unsigned mem_flags); |
942 | extern void usb_free_urb(struct urb *urb); | 942 | extern void usb_free_urb(struct urb *urb); |
943 | #define usb_put_urb usb_free_urb | 943 | #define usb_put_urb usb_free_urb |
944 | extern struct urb *usb_get_urb(struct urb *urb); | 944 | extern struct urb *usb_get_urb(struct urb *urb); |
945 | extern int usb_submit_urb(struct urb *urb, int mem_flags); | 945 | extern int usb_submit_urb(struct urb *urb, unsigned mem_flags); |
946 | extern int usb_unlink_urb(struct urb *urb); | 946 | extern int usb_unlink_urb(struct urb *urb); |
947 | extern void usb_kill_urb(struct urb *urb); | 947 | extern void usb_kill_urb(struct urb *urb); |
948 | 948 | ||
949 | #define HAVE_USB_BUFFERS | 949 | #define HAVE_USB_BUFFERS |
950 | void *usb_buffer_alloc (struct usb_device *dev, size_t size, | 950 | void *usb_buffer_alloc (struct usb_device *dev, size_t size, |
951 | int mem_flags, dma_addr_t *dma); | 951 | unsigned mem_flags, dma_addr_t *dma); |
952 | void usb_buffer_free (struct usb_device *dev, size_t size, | 952 | void usb_buffer_free (struct usb_device *dev, size_t size, |
953 | void *addr, dma_addr_t dma); | 953 | void *addr, dma_addr_t dma); |
954 | 954 | ||
@@ -1055,7 +1055,7 @@ int usb_sg_init ( | |||
1055 | struct scatterlist *sg, | 1055 | struct scatterlist *sg, |
1056 | int nents, | 1056 | int nents, |
1057 | size_t length, | 1057 | size_t length, |
1058 | int mem_flags | 1058 | unsigned mem_flags |
1059 | ); | 1059 | ); |
1060 | void usb_sg_cancel (struct usb_sg_request *io); | 1060 | void usb_sg_cancel (struct usb_sg_request *io); |
1061 | void usb_sg_wait (struct usb_sg_request *io); | 1061 | void usb_sg_wait (struct usb_sg_request *io); |