Docs: usb: update struct usb_driver
update struct usb_driver from usb-skeleton.c. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/8084ad0e369d4e0bf10598292ee4bac46d09d03d.1635138058.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c26f1c109d
commit
296ecb3515
@ -57,9 +57,12 @@ structure. The skeleton driver declares a :c:type:`usb_driver` as::
|
||||
.name = "skeleton",
|
||||
.probe = skel_probe,
|
||||
.disconnect = skel_disconnect,
|
||||
.fops = &skel_fops,
|
||||
.minor = USB_SKEL_MINOR_BASE,
|
||||
.suspend = skel_suspend,
|
||||
.resume = skel_resume,
|
||||
.pre_reset = skel_pre_reset,
|
||||
.post_reset = skel_post_reset,
|
||||
.id_table = skel_table,
|
||||
.supports_autosuspend = 1,
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user