diff options
author | Sergey Vlasov <vsu@altlinux.ru> | 2005-09-03 11:26:49 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-03 11:26:49 -0400 |
commit | 9b4e3b13b147e9b737de63188a9ae740eaa8c36d (patch) | |
tree | 8ef40261167f125a5c36bdeab9284886f1b8d34f | |
parent | 707b1c84ec828da479107e839eae0322bacec4d7 (diff) |
[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=5012
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/char/moxa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/moxa.c b/drivers/char/moxa.c index 95f7046ff059..79e490ef2cf2 100644 --- a/drivers/char/moxa.c +++ b/drivers/char/moxa.c | |||
@@ -339,7 +339,7 @@ static int __init moxa_init(void) | |||
339 | 339 | ||
340 | init_MUTEX(&moxaBuffSem); | 340 | init_MUTEX(&moxaBuffSem); |
341 | moxaDriver->owner = THIS_MODULE; | 341 | moxaDriver->owner = THIS_MODULE; |
342 | moxaDriver->name = "ttya"; | 342 | moxaDriver->name = "ttyMX"; |
343 | moxaDriver->devfs_name = "tts/a"; | 343 | moxaDriver->devfs_name = "tts/a"; |
344 | moxaDriver->major = ttymajor; | 344 | moxaDriver->major = ttymajor; |
345 | moxaDriver->minor_start = 0; | 345 | moxaDriver->minor_start = 0; |