aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/qemu/q-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/qemu/q-setup.c')
-rw-r--r--arch/mips/qemu/q-setup.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c
deleted file mode 100644
index 9f0c2d3c67ea..000000000000
--- a/arch/mips/qemu/q-setup.c
+++ /dev/null
@@ -1,37 +0,0 @@
1#include <linux/init.h>
2#include <linux/platform_device.h>
3
4#include <asm/i8253.h>
5#include <asm/io.h>
6#include <asm/time.h>
7
8extern void qemu_reboot_setup(void);
9
10const char *get_system_type(void)
11{
12 return "Qemu";
13}
14
15void __init plat_time_init(void)
16{
17 setup_pit_timer();
18}
19
20void __init plat_mem_setup(void)
21{
22 qemu_reboot_setup();
23}
24
25static struct platform_device pcspeaker_pdev = {
26 .name = "pcspkr",
27 .id = -1,
28};
29
30static int __init qemu_platform_devinit(void)
31{
32 platform_device_register(&pcspeaker_pdev);
33
34 return 0;
35}
36
37device_initcall(qemu_platform_devinit);