From: Jiri Slaby Date: Mon, 15 Apr 2013 05:52:05 +0000 (+0200) Subject: TTY: pty, fix compilation warning X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~136^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4b208eb91776b0522b41c78fac6cf08134db78f;p=pandora-kernel.git 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 Reported-by: Toralf Foerster Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed