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_simple - add a platform-level device and its resources*@name: base name of the device we're adding*@id: instance id*@res: set of resources that needs to be allocated for the device*@num: number of resources* This function creates

Proto:static inline struct platform_device *platform_device_register_simple(const char *name, int id, const struct resource *res, unsigned int num)

Type:struct platform_device

Parameter:

TypeParameterName
const char *name
intid
const struct resource *res
unsigned intnum
156  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
Caller
NameDescribe
microcode_init
add_pcspkr