Zephyr Project API  3.3.0
A Scalable Open Source RTOS
init_entry Struct Reference

Structure to store initialization entry information. More...

#include <init.h>

Data Fields

int(* init )(const struct device *dev)
 
const struct devicedev
 

Detailed Description

Structure to store initialization entry information.

Field Documentation

◆ dev

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.

◆ init

int(* init_entry::init) (const struct device *dev)

Initialization function for the init entry.

Parameters
devDevice pointer, NULL if not a device init function.
Return values
0On success
-errnoIf init fails.

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