device_get_parent — return the device's parent
Contents
Description
The device_get_parent() function returns the name of the device's parent device.
Name
device_get_parent — return the device's parent
See Also
device(9)
Synopsis
#include<sys/param.h>#include<sys/bus.h>device_tdevice_get_parent(device_tdev);
