2 * Copyright (C) 2006 IBM Corporation
4 * Implements device information for i8253 timer chip
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License version
8 * 2 as published by the Free Software Foundation
11 #include <linux/platform_device.h>
13 static __init
int add_pcspkr(void)
15 struct platform_device
*pd
;
18 pd
= platform_device_alloc("pcspkr", -1);
22 ret
= platform_device_add(pd
);
24 platform_device_put(pd
);
28 device_initcall(add_pcspkr
);