mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-30 15:48:52 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
13
arch/x86/kernel/pcspeaker.c
Normal file
13
arch/x86/kernel/pcspeaker.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#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;
|
||||
}
|
||||
device_initcall(add_pcspkr);
|
||||
Loading…
Add table
Add a link
Reference in a new issue