![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 #include <linux/platform_device.h> 0003 #include <linux/err.h> 0004 #include <linux/init.h> 0005 0006 static __init int add_pcspkr(void) 0007 { 0008 struct platform_device *pd; 0009 0010 pd = platform_device_register_simple("pcspkr", -1, NULL, 0); 0011 0012 return PTR_ERR_OR_ZERO(pd); 0013 } 0014 device_initcall(add_pcspkr);
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |