summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2009-04-05 13:12:30 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2010-05-26 19:51:09 +0200
commit826e8c8c804e5a38586c6b48ef38d1e755789f0c (patch)
treef71bbfbbe4edcc26e7e9cf470b0b506b20714da5 /arch/m68k
parent314c926f64b345f153b9180a2c79333657dbec48 (diff)
downloadlwn-826e8c8c804e5a38586c6b48ef38d1e755789f0c.tar.gz
lwn-826e8c8c804e5a38586c6b48ef38d1e755789f0c.zip
m68k: amiga - Serial port platform device conversion
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-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;
}