函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\platform_device.h Create Date:2022-07-27 07:53:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:platform_device_register_data - add a platform-level device with platform-specific data*@parent: parent device for the device we're adding*@name: base name of the device we're adding*@id: instance id*@data: platform specific data for this platform

函数原型:static inline struct platform_device *platform_device_register_data(struct device *parent, const char *name, int id, const void *data, size_t size)

返回类型:struct platform_device

参数:

类型参数名称
struct device *parent
const char *name
intid
const void *data
size_tsize
180  返回:platform_device_register_resndata - add a platform-level device with* resources and platform-specific data*@parent: parent device for the device we're adding*@name: base name of the device we're adding*@id: instance id*@res: set of resources that needs to