---
name: "usb_gadget_probe_driver"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/usb_gadget_probe_driver"
---

# usb\_gadget\_probe\_driver(9)

probe a gadget driver

## NAME

usb\_gadget\_probe\_driver - probe a gadget driver

## SYNOPSIS

**int usb\_gadget\_probe\_driver(struct usb\_gadget\_driver \*** *driver***);**

## ARGUMENTS

*driver*

the driver being registered

## CONTEXT

can sleep

## DESCRIPTION

Call this in your gadget driver's module initialization function, to tell the underlying usb controller driver about your driver. The *bind*() function will be called to bind it to a gadget before this registration call returns. It's expected that the *bind*() function will be in init sections.

## AUTHOR

**David Brownell** \<dbrownell@users.sourceforge.net\>

Author.

## COPYRIGHT
