diff options
Diffstat (limited to 'arch/m68k/q40')
-rw-r--r-- | arch/m68k/q40/config.c | 14 | ||||
-rw-r--r-- | arch/m68k/q40/q40ints.c | 1 |
2 files changed, 13 insertions, 2 deletions
diff --git a/arch/m68k/q40/config.c b/arch/m68k/q40/config.c index ad10fecec2fe..512adb64f7dd 100644 --- a/arch/m68k/q40/config.c +++ b/arch/m68k/q40/config.c | |||
@@ -24,11 +24,11 @@ | |||
24 | #include <linux/rtc.h> | 24 | #include <linux/rtc.h> |
25 | #include <linux/vt_kern.h> | 25 | #include <linux/vt_kern.h> |
26 | #include <linux/bcd.h> | 26 | #include <linux/bcd.h> |
27 | #include <linux/platform_device.h> | ||
27 | 28 | ||
28 | #include <asm/io.h> | 29 | #include <asm/io.h> |
29 | #include <asm/rtc.h> | 30 | #include <asm/rtc.h> |
30 | #include <asm/bootinfo.h> | 31 | #include <asm/bootinfo.h> |
31 | #include <asm/system.h> | ||
32 | #include <asm/pgtable.h> | 32 | #include <asm/pgtable.h> |
33 | #include <asm/setup.h> | 33 | #include <asm/setup.h> |
34 | #include <asm/irq.h> | 34 | #include <asm/irq.h> |
@@ -329,3 +329,15 @@ static int q40_set_rtc_pll(struct rtc_pll_info *pll) | |||
329 | } else | 329 | } else |
330 | return -EINVAL; | 330 | return -EINVAL; |
331 | } | 331 | } |
332 | |||
333 | static __init int q40_add_kbd_device(void) | ||
334 | { | ||
335 | struct platform_device *pdev; | ||
336 | |||
337 | pdev = platform_device_register_simple("q40kbd", -1, NULL, 0); | ||
338 | if (IS_ERR(pdev)) | ||
339 | return PTR_ERR(pdev); | ||
340 | |||
341 | return 0; | ||
342 | } | ||
343 | arch_initcall(q40_add_kbd_device); | ||
diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c index 2b888491f29a..513f9bb17b9c 100644 --- a/arch/m68k/q40/q40ints.c +++ b/arch/m68k/q40/q40ints.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/irq.h> | 18 | #include <linux/irq.h> |
19 | 19 | ||
20 | #include <asm/ptrace.h> | 20 | #include <asm/ptrace.h> |
21 | #include <asm/system.h> | ||
22 | #include <asm/traps.h> | 21 | #include <asm/traps.h> |
23 | 22 | ||
24 | #include <asm/q40_master.h> | 23 | #include <asm/q40_master.h> |