Skip to content

Commit

Permalink
[SERIAL] Fix moxa tty driver name
Browse files Browse the repository at this point in the history
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=5012

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Sergey Vlasov authored and Russell King committed Sep 3, 2005
1 parent 707b1c8 commit 9b4e3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/moxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ static int __init moxa_init(void)

init_MUTEX(&moxaBuffSem);
moxaDriver->owner = THIS_MODULE;
moxaDriver->name = "ttya";
moxaDriver->name = "ttyMX";
moxaDriver->devfs_name = "tts/a";
moxaDriver->major = ttymajor;
moxaDriver->minor_start = 0;
Expand Down

0 comments on commit 9b4e3b1

Please sign in to comment.