Commit c03fdc67 authored by Steve Youngs's avatar Steve Youngs Committed by Russell King

[SERIAL] Add alias for TTY_MAJOR character device.

Patch from Steve Youngs
parent da5ca9a5
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <linux/serial.h> #include <linux/serial.h>
#include <linux/serialP.h> #include <linux/serialP.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/device.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/irq.h> #include <asm/irq.h>
...@@ -2194,3 +2195,4 @@ MODULE_PARM_DESC(probe_rsa, "Probe I/O ports for RSA"); ...@@ -2194,3 +2195,4 @@ MODULE_PARM_DESC(probe_rsa, "Probe I/O ports for RSA");
MODULE_PARM(force_rsa, "1-" __MODULE_STRING(PORT_RSA_MAX) "i"); MODULE_PARM(force_rsa, "1-" __MODULE_STRING(PORT_RSA_MAX) "i");
MODULE_PARM_DESC(force_rsa, "Force I/O ports for RSA"); MODULE_PARM_DESC(force_rsa, "Force I/O ports for RSA");
#endif #endif
MODULE_ALIAS_CHARDEV_MAJOR(TTY_MAJOR);
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