summaryrefslogtreecommitdiffstats
path: root/arch
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
parent9aed2302655854586069d90e0d59ce3a0e12809d (diff)
downloadop-kernel-dev-5121c7172d7d9bec33535e098c9487cf4e8186f2.zip
op-kernel-dev-5121c7172d7d9bec33535e098c9487cf4e8186f2.tar.gz
m68k: amiga - Keyboard platform device conversion
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-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;
}
OpenPOWER on IntegriCloud