Zephyr Project API
3.3.0
A Scalable Open Source RTOS
|
Structure to store initialization entry information. More...
#include <init.h>
Data Fields | |
int(* | init )(const struct device *dev) |
const struct device * | dev |
Structure to store initialization entry information.
const struct device* init_entry::dev |
If the init entry belongs to a device, this fields stores a reference to it, otherwise it is set to NULL.
Initialization function for the init entry.
dev | Device pointer, NULL if not a device init function. |
0 | On success |
-errno | If init fails. |