Commit 9b4e3b13 authored by Sergey Vlasov's avatar Sergey Vlasov Committed by Russell King

[SERIAL] Fix moxa tty driver name

The moxa driver was named "ttya", which is wrong:
1) Documentation/devices.txt says that the name should be "ttyMX".
2) First 10 ports (ttya0...ttya9) clash with the legacy pty driver.

This patch changes the driver name to "ttyMX".

http://bugme.osdl.org/show_bug.cgi?id=5012Signed-off-by: default avatarSergey Vlasov <vsu@altlinux.ru>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 707b1c84
...@@ -339,7 +339,7 @@ static int __init moxa_init(void) ...@@ -339,7 +339,7 @@ static int __init moxa_init(void)
init_MUTEX(&moxaBuffSem); init_MUTEX(&moxaBuffSem);
moxaDriver->owner = THIS_MODULE; moxaDriver->owner = THIS_MODULE;
moxaDriver->name = "ttya"; moxaDriver->name = "ttyMX";
moxaDriver->devfs_name = "tts/a"; moxaDriver->devfs_name = "tts/a";
moxaDriver->major = ttymajor; moxaDriver->major = ttymajor;
moxaDriver->minor_start = 0; moxaDriver->minor_start = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment