logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

device_get_driver — access the current driver of a device

Authors

       This manual page was written by Doug Rabson.

Debian                                            June 16, 1998                             DEVICE_GET_DRIVER(9)

Description

       The  current  driver  associated  with  the  device  is  returned.   If the device has no driver, NULL is
       returned.

Name

       device_get_driver — access the current driver of a device

See Also

device(9), driver(9)

Synopsis

#include<sys/param.h>#include<sys/bus.h>driver_t*device_get_driver(device_tdev);

See Also