NAME
device_get_parent
—
return parent device
SYNOPSIS
#include
<sys/param.h>
#include <sys/bus.h>
device_t
device_get_parent
(device_t
dev);
DESCRIPTION
Thedevice_get_parent
()
function returns the parent device of dev.