NAME

device_get_parentreturn the device's parent

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 name of the device's parent device.

SEE ALSO

device(9)

AUTHORS

This manual page was written by Warner Losh.

Recommended readings

Pages related to device_get_parent you should read also:

Questions & Answers

Helpful answers and articles about device_get_parent you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search