bus_find_device_by_name

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

bus_find_device_by_name - device iterator for locating a particular device of a specific name

SYNOPSIS

struct device * bus_find_device_by_name(struct bus_type * bus, struct device * start, const char * name);

ARGUMENTS

bus

bus type

start

Device to begin with

name

name of the device to match

DESCRIPTION

This is similar to the bus_find_device function above, but it handles searching by a name automatically, no need to write another strcmp matching function.