Commit f7d85523 authored by David S. Miller's avatar David S. Miller

[SPARC]: Add MODULE_ALIAS_LDISC() defines.

parent 80c2442e
...@@ -73,6 +73,7 @@ struct winsize { ...@@ -73,6 +73,7 @@ struct winsize {
#define N_HCI 15 /* Bluetooth HCI UART */ #define N_HCI 15 /* Bluetooth HCI UART */
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/module.h>
/* /*
* c_cc characters in the termio structure. Oh, how I love being * c_cc characters in the termio structure. Oh, how I love being
...@@ -168,6 +169,9 @@ struct winsize { ...@@ -168,6 +169,9 @@ struct winsize {
0; \ 0; \
}) })
#define MODULE_ALIAS_LDISC(ldisc) \
MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _SPARC_TERMIOS_H */ #endif /* _SPARC_TERMIOS_H */
...@@ -73,6 +73,7 @@ struct winsize { ...@@ -73,6 +73,7 @@ struct winsize {
#define N_HCI 15 /* Bluetooth HCI UART */ #define N_HCI 15 /* Bluetooth HCI UART */
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/module.h>
/* /*
* c_cc characters in the termio structure. Oh, how I love being * c_cc characters in the termio structure. Oh, how I love being
...@@ -167,6 +168,9 @@ struct winsize { ...@@ -167,6 +168,9 @@ struct winsize {
0; \ 0; \
}) })
#define MODULE_ALIAS_LDISC(ldisc) \
MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _SPARC64_TERMIOS_H */ #endif /* _SPARC64_TERMIOS_H */
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