diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-sparc/termios.h | 4 | ||||
| -rw-r--r-- | include/asm-sparc64/termios.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-sparc/termios.h b/include/asm-sparc/termios.h index 11f174e6b3c3..48ba080c0794 100644 --- a/include/asm-sparc/termios.h +++ b/include/asm-sparc/termios.h @@ -73,6 +73,7 @@ struct winsize { #define N_HCI 15 /* Bluetooth HCI UART */ #ifdef __KERNEL__ +#include <linux/module.h> /* * c_cc characters in the termio structure. Oh, how I love being @@ -168,6 +169,9 @@ struct winsize { 0; \ }) +#define MODULE_ALIAS_LDISC(ldisc) \ + MODULE_ALIAS("tty-ldisc-" __stringify(ldisc)) + #endif /* __KERNEL__ */ #endif /* _SPARC_TERMIOS_H */ diff --git a/include/asm-sparc64/termios.h b/include/asm-sparc64/termios.h index d29aa87ad90b..4e7fef518a25 100644 --- a/include/asm-sparc64/termios.h +++ b/include/asm-sparc64/termios.h @@ -73,6 +73,7 @@ struct winsize { #define N_HCI 15 /* Bluetooth HCI UART */ #ifdef __KERNEL__ +#include <linux/module.h> /* * c_cc characters in the termio structure. Oh, how I love being @@ -167,6 +168,9 @@ struct winsize { 0; \ }) +#define MODULE_ALIAS_LDISC(ldisc) \ + MODULE_ALIAS("tty-ldisc-" __stringify(ldisc)) + #endif /* __KERNEL__ */ #endif /* _SPARC64_TERMIOS_H */ |
