aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-06-20 20:34:13 +0000
committerGreg Kroah-Hartman <[email protected]>2017-07-17 15:04:41 +0000
commit6509f3096263ca2714ec938439a832b302a3a65e (patch)
tree1b9ccb0b95178e4b93efa4faec7412bcd79c64ef /drivers/fpga/fpga-region.c
parenttty: serial: lpuart: Fix the logic for detecting the 32-bit type UART (diff)
downloadkernel-6509f3096263ca2714ec938439a832b302a3a65e.tar.gz
kernel-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 <[email protected]> Acked-by: Aleksa Sarai <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions