]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/kernel/pcspeaker.c
Merge tag 'media/v4.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / kernel / pcspeaker.c
CommitLineData
62cc4939 1#include <linux/platform_device.h>
153dab77 2#include <linux/err.h>
62cc4939
AK
3#include <linux/init.h>
4
5static __init int add_pcspkr(void)
6{
7 struct platform_device *pd;
62cc4939 8
153dab77 9 pd = platform_device_register_simple("pcspkr", -1, NULL, 0);
62cc4939 10
153dab77 11 return IS_ERR(pd) ? PTR_ERR(pd) : 0;
62cc4939
AK
12}
13device_initcall(add_pcspkr);