|
@@ -660,7 +660,7 @@ struct usb_mon_operations {
|
|
|
/* void (*urb_unlink)(struct usb_bus *bus, struct urb *urb); */
|
|
|
};
|
|
|
|
|
|
-extern struct usb_mon_operations *mon_ops;
|
|
|
+extern const struct usb_mon_operations *mon_ops;
|
|
|
|
|
|
static inline void usbmon_urb_submit(struct usb_bus *bus, struct urb *urb)
|
|
|
{
|
|
@@ -682,7 +682,7 @@ static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,
|
|
|
(*mon_ops->urb_complete)(bus, urb, status);
|
|
|
}
|
|
|
|
|
|
-int usb_mon_register(struct usb_mon_operations *ops);
|
|
|
+int usb_mon_register(const struct usb_mon_operations *ops);
|
|
|
void usb_mon_deregister(void);
|
|
|
|
|
|
#else
|