Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\platform_device.h Create Date:2022-07-28 06:56:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

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

Type:struct platform_device

Parameter:

TypeParameterName
struct device *parent
const char *name
intid
const void *data
size_tsize
180  Return 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