sysdev_driver_register

Langue: en

Autres versions - même langue

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

Section: 9 (Appels noyau Linux)

NAME

sysdev_driver_register - Register auxillary driver

SYNOPSIS

int sysdev_driver_register(struct sysdev_class * cls, struct sysdev_driver * drv);

ARGUMENTS

cls

Device class driver belongs to.

drv

Driver.

DESCRIPTION

drv is inserted into cls->drivers to be called on each operation on devices of that class. The refcount of cls is incremented.