Merge remote-tracking branch 'netfilter-next/master'
[deliverable/linux.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);
This page took 0.938064 seconds and 5 git commands to generate.