hcd.c (a9de18eb761f7c1c860964b2e5addc1a35c7e861) hcd.c (f150fa1afbf69a87f54752579ff2bb769aad88b3)
1/*
2 * (C) Copyright Linus Torvalds 1999
3 * (C) Copyright Johannes Erdfelt 1999-2001
4 * (C) Copyright Andreas Gal 1999
5 * (C) Copyright Gregory P. Smith 1999
6 * (C) Copyright Deti Fliegl 1999
7 * (C) Copyright Randy Dunlap 2000
8 * (C) Copyright David Brownell 2000-2002

--- 2014 unchanged lines hidden (view full) ---

2023
2024 if (hcd->driver->shutdown)
2025 hcd->driver->shutdown(hcd);
2026}
2027EXPORT_SYMBOL_GPL(usb_hcd_platform_shutdown);
2028
2029/*-------------------------------------------------------------------------*/
2030
1/*
2 * (C) Copyright Linus Torvalds 1999
3 * (C) Copyright Johannes Erdfelt 1999-2001
4 * (C) Copyright Andreas Gal 1999
5 * (C) Copyright Gregory P. Smith 1999
6 * (C) Copyright Deti Fliegl 1999
7 * (C) Copyright Randy Dunlap 2000
8 * (C) Copyright David Brownell 2000-2002

--- 2014 unchanged lines hidden (view full) ---

2023
2024 if (hcd->driver->shutdown)
2025 hcd->driver->shutdown(hcd);
2026}
2027EXPORT_SYMBOL_GPL(usb_hcd_platform_shutdown);
2028
2029/*-------------------------------------------------------------------------*/
2030
2031#if defined(CONFIG_USB_MON)
2031#if defined(CONFIG_USB_MON) || defined(CONFIG_USB_MON_MODULE)
2032
2033struct usb_mon_operations *mon_ops;
2034
2035/*
2036 * The registration is unlocked.
2037 * We do it this way because we do not want to lock in hot paths.
2038 *
2039 * Notice that the code is minimally error-proof. Because usbmon needs

--- 19 unchanged lines hidden (view full) ---

2059 printk(KERN_ERR "USB: monitor was not registered\n");
2060 return;
2061 }
2062 mon_ops = NULL;
2063 mb();
2064}
2065EXPORT_SYMBOL_GPL (usb_mon_deregister);
2066
2032
2033struct usb_mon_operations *mon_ops;
2034
2035/*
2036 * The registration is unlocked.
2037 * We do it this way because we do not want to lock in hot paths.
2038 *
2039 * Notice that the code is minimally error-proof. Because usbmon needs

--- 19 unchanged lines hidden (view full) ---

2059 printk(KERN_ERR "USB: monitor was not registered\n");
2060 return;
2061 }
2062 mon_ops = NULL;
2063 mb();
2064}
2065EXPORT_SYMBOL_GPL (usb_mon_deregister);
2066
2067#endif /* CONFIG_USB_MON */
2067#endif /* CONFIG_USB_MON || CONFIG_USB_MON_MODULE */