diff options
| author | Jiri Slaby <[email protected]> | 2013-04-15 05:52:05 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-04-15 18:02:54 +0000 |
| commit | f4b208eb91776b0522b41c78fac6cf08134db78f (patch) | |
| tree | ffd296c2bc5f49b2e9ef478b7d71d63b2a2ee3a4 /drivers/tty/serial/sccnxp.c | |
| parent | TTY: rocket, fix compilation warning (diff) | |
| download | kernel-f4b208eb91776b0522b41c78fac6cf08134db78f.tar.gz kernel-f4b208eb91776b0522b41c78fac6cf08134db78f.zip | |
TTY: pty, fix compilation warning
When CONFIG_UNIX98_PTYS is unset, we see this warning in pty:
drivers/tty/pty.c:409:13: warning: ‘pty_unix98_shutdown’ defined but not used
Fix that by moving the function to a section which depends on that
config.
Signed-off-by: Jiri Slaby <[email protected]>
Reported-by: Toralf Foerster <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
