#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/notifier.h>
#include <linux/usb.h>
#include <linux/mutex.h>
#include "usb.h"
Go to the source code of this file.
void usb_notify_add_device |
( |
struct usb_device * |
udev | ) |
|
void usb_notify_remove_bus |
( |
struct usb_bus * |
ubus | ) |
|
void usb_notify_remove_device |
( |
struct usb_device * |
udev | ) |
|
usb_register_notify - register a notifier callback whenever a usb change happens : pointer to the notifier block for the callback events.
These changes are either USB devices or busses being added or removed.
Definition at line 27 of file notify.c.
usb_unregister_notify - unregister a notifier callback : pointer to the notifier block for the callback events.
usb_register_notify() must have been previously called for this function to work properly.
Definition at line 40 of file notify.c.