diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/usb/hcd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index f89c24bd53a4..4dcf8446dbcd 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h | |||
| @@ -660,7 +660,7 @@ struct usb_mon_operations { | |||
| 660 | /* void (*urb_unlink)(struct usb_bus *bus, struct urb *urb); */ | 660 | /* void (*urb_unlink)(struct usb_bus *bus, struct urb *urb); */ |
| 661 | }; | 661 | }; |
| 662 | 662 | ||
| 663 | extern struct usb_mon_operations *mon_ops; | 663 | extern const struct usb_mon_operations *mon_ops; |
| 664 | 664 | ||
| 665 | static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) | 665 | static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb) |
| 666 | { | 666 | { |
| @@ -682,7 +682,7 @@ static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb, | |||
| 682 | (*mon_ops->urb_complete)(bus, urb, status); | 682 | (*mon_ops->urb_complete)(bus, urb, status); |
| 683 | } | 683 | } |
| 684 | 684 | ||
| 685 | int usb_mon_register(struct usb_mon_operations *ops); | 685 | int usb_mon_register(const struct usb_mon_operations *ops); |
| 686 | void usb_mon_deregister(void); | 686 | void usb_mon_deregister(void); |
| 687 | 687 | ||
| 688 | #else | 688 | #else |
