cregit-Linux how code gets into the kernel

Release 4.14 arch/x86/kernel/pcspeaker.c

Directory: arch/x86/kernel
// SPDX-License-Identifier: GPL-2.0
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/init.h>


static __init int add_pcspkr(void) { struct platform_device *pd; pd = platform_device_register_simple("pcspkr", -1, NULL, 0); return IS_ERR(pd) ? PTR_ERR(pd) : 0; }

Contributors

PersonTokensPropCommitsCommitProp
Andi Kleen3175.61%150.00%
Akinobu Mita1024.39%150.00%
Total41100.00%2100.00%

device_initcall(add_pcspkr);

Overall Contributors

PersonTokensPropCommitsCommitProp
Andi Kleen4478.57%133.33%
Akinobu Mita1119.64%133.33%
Greg Kroah-Hartman11.79%133.33%
Total56100.00%3100.00%
Directory: arch/x86/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.