device: Fix structure documentation
Switching to proper documentation format for structures. Fixes #26284 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
2c92af5a80
commit
871c7105f6
2 changed files with 20 additions and 16 deletions
|
@ -41,7 +41,13 @@ struct device;
|
|||
* if the init entry is not used for a device driver but a service.
|
||||
*/
|
||||
struct init_entry {
|
||||
/** Initialization function for the init entry which will take
|
||||
* the dev attribute as parameter. See below.
|
||||
*/
|
||||
int (*init)(struct device *dev);
|
||||
/** Pointer to a device driver instance structure. Can be NULL
|
||||
* if the init entry is not used for a device driver but a services.
|
||||
*/
|
||||
struct device *dev;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue