Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\pcspeaker.c Create Date:2022-07-28 08:46:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:add_pcspkr

Proto:static __init int add_pcspkr(void)

Type:int

Parameter:Nothing

10  pd = 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
12  Return PTR_ERR_OR_ZERO(pd)