DEVICE_GET_PARENT(9) | Kernel Developer's Manual | DEVICE_GET_PARENT(9) |
device_get_parent
—
return the device's parent
#include
<sys/param.h>
#include <sys/bus.h>
device_t
device_get_parent
(device_t
dev);
The
device_get_parent
()
function returns the name of the device's parent device.
This manual page was written by Warner Losh.
April 21, 2003 | Debian |