Data Fields
root_device Struct Reference

A root device. More...

#include <device.h>

Data Fields

struct device dev
 Device chain. More...
struct root_driverdriver
 Root device driver. More...
void * priv
 Driver-private data. More...

Detailed Description

A root device.

Root devices are system buses such as PCI, EISA, etc.

Definition at line 94 of file device.h.

Field Documentation

◆ dev

struct device root_device::dev

◆ driver

struct root_driver* root_device::driver

Root device driver.

Definition at line 101 of file device.h.

Referenced by rootdev_probe(), and rootdev_remove().

◆ priv

void* root_device::priv

Driver-private data.

Definition at line 103 of file device.h.

Referenced by rootdev_get_drvdata(), and rootdev_set_drvdata().

The documentation for this struct was generated from the following file: