aboutsummaryrefslogtreecommitdiffstats
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)
downloadkernel_samsung_espresso10-5121c7172d7d9bec33535e098c9487cf4e8186f2.zip
kernel_samsung_espresso10-5121c7172d7d9bec33535e098c9487cf4e8186f2.tar.gz
kernel_samsung_espresso10-5121c7172d7d9bec33535e098c9487cf4e8186f2.tar.bz2
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 907f6f5..d427de2 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;
}