summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven2009-04-05 13:12:30 +0200
committerGeert Uytterhoeven2010-05-26 19:51:09 +0200
commit826e8c8c804e5a38586c6b48ef38d1e755789f0c (patch)
treef71bbfbbe4edcc26e7e9cf470b0b506b20714da5 /arch
parentm68k: amiga - Mouse platform device conversion (diff)
downloadkernel-qcow2-linux-826e8c8c804e5a38586c6b48ef38d1e755789f0c.tar.gz
kernel-qcow2-linux-826e8c8c804e5a38586c6b48ef38d1e755789f0c.tar.xz
kernel-qcow2-linux-826e8c8c804e5a38586c6b48ef38d1e755789f0c.zip
m68k: amiga - Serial port platform device conversion
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/amiga/platform.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/amiga/platform.c b/arch/m68k/amiga/platform.c
index 269bafc8da17..52aa62da8528 100644
--- a/arch/m68k/amiga/platform.c
+++ b/arch/m68k/amiga/platform.c
@@ -168,6 +168,9 @@ static int __init amiga_init_devices(void)
if (AMIGAHW_PRESENT(AMI_MOUSE))
platform_device_register_simple("amiga-mouse", -1, NULL, 0);
+ if (AMIGAHW_PRESENT(AMI_SERIAL))
+ platform_device_register_simple("amiga-serial", -1, NULL, 0);
+
return 0;
}