---
name: "driver_find"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/driver_find"
---

# driver\_find(9)

locate driver on a bus by its name.

## NAME

driver\_find - locate driver on a bus by its name.

## SYNOPSIS

**struct device\_driver \* driver\_find(const char \*** *name***, struct bus\_type \*** *bus***);**

## ARGUMENTS

*name*

name of the driver.

*bus*

bus to scan for the driver.

## DESCRIPTION

Call **kset\_find\_obj** to iterate over list of drivers on a bus to find driver by name. Return driver if found.

This routine provides no locking to prevent the driver it returns from being unregistered or unloaded while the caller is using it. The caller is responsible for preventing this.

## COPYRIGHT
