summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven2009-04-05 13:10:56 +0200
committerGeert Uytterhoeven2010-05-26 19:51:09 +0200
commit5121c7172d7d9bec33535e098c9487cf4e8186f2 (patch)
tree7162b57ec19db3d5eb04b24af633c564929fe74b /arch/m68k
parentm68k: amiga - Amiga Gayle IDE platform device conversion (diff)
downloadkernel-qcow2-linux-5121c7172d7d9bec33535e098c9487cf4e8186f2.tar.gz
kernel-qcow2-linux-5121c7172d7d9bec33535e098c9487cf4e8186f2.tar.xz
kernel-qcow2-linux-5121c7172d7d9bec33535e098c9487cf4e8186f2.zip
m68k: amiga - Keyboard platform device conversion
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/amiga/platform.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/m68k/amiga/platform.c b/arch/m68k/amiga/platform.c
index 907f6f5f2cac..d427de23c02e 100644
--- a/arch/m68k/amiga/platform.c
+++ b/arch/m68k/amiga/platform.c
@@ -160,6 +160,11 @@ static int __init amiga_init_devices(void)
sizeof(a4000_ide_pdata));
}
+
+ /* other I/O hardware */
+ if (AMIGAHW_PRESENT(AMI_KEYBOARD))
+ platform_device_register_simple("amiga-keyboard", -1, NULL, 0);
+
return 0;
}