DEVICE_GET_PARENT(9)

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
The device_get_parent() function returns the parent device of dev.

SEE ALSO
devclass(9), device(9)