summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2009-04-05 13:10:56 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2010-05-26 19:51:09 +0200
commit5121c7172d7d9bec33535e098c9487cf4e8186f2 (patch)
tree7162b57ec19db3d5eb04b24af633c564929fe74b /arch/m68k
parent9aed2302655854586069d90e0d59ce3a0e12809d (diff)
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 907f6f5f2ca..d427de23c02 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;
}