summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/proc-mn2ws0050
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-06-20 22:34:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 17:04:41 +0200
commit6509f3096263ca2714ec938439a832b302a3a65e (patch)
tree1b9ccb0b95178e4b93efa4faec7412bcd79c64ef /arch/mn10300/proc-mn2ws0050
parenttty: serial: lpuart: Fix the logic for detecting the 32-bit type UART (diff)
downloadlinux-6509f3096263ca2714ec938439a832b302a3a65e.tar.xz
linux-6509f3096263ca2714ec938439a832b302a3a65e.zip
tty: hide unused pty_get_peer function
TIOCGPTPEER is only used for unix98 PTYs, and we get a warning when those are disabled: drivers/tty/pty.c:466:12: error: 'pty_get_peer' defined but not used [-Werror=unused-function] This moves the respective functions inside of the existing #ifdef. Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Aleksa Sarai <asarai@suse.de> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mn10300/proc-mn2ws0050')
0 files changed, 0 insertions, 0 deletions