|
@@ -421,7 +421,7 @@ static inline void usbfs_cleanup(void) { }
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/
|
|
/*-------------------------------------------------------------------------*/
|
|
|
|
|
|
-#if defined(CONFIG_USB_MON)
|
|
|
|
|
|
+#if defined(CONFIG_USB_MON) || defined(CONFIG_USB_MON_MODULE)
|
|
|
|
|
|
struct usb_mon_operations {
|
|
struct usb_mon_operations {
|
|
void (*urb_submit)(struct usb_bus *bus, struct urb *urb);
|
|
void (*urb_submit)(struct usb_bus *bus, struct urb *urb);
|
|
@@ -463,7 +463,7 @@ static inline void usbmon_urb_submit_error(struct usb_bus *bus, struct urb *urb,
|
|
static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,
|
|
static inline void usbmon_urb_complete(struct usb_bus *bus, struct urb *urb,
|
|
int status) {}
|
|
int status) {}
|
|
|
|
|
|
-#endif /* CONFIG_USB_MON */
|
|
|
|
|
|
+#endif /* CONFIG_USB_MON || CONFIG_USB_MON_MODULE */
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/
|
|
/*-------------------------------------------------------------------------*/
|
|
|
|
|