git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f678c44
)
TTY: pty, fix compilation warning
author
Jiri Slaby
<jslaby@suse.cz>
Mon, 15 Apr 2013 05:52:05 +0000
(07:52 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 15 Apr 2013 18:02:54 +0000
(11:02 -0700)
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 <jslaby@suse.cz>
Reported-by: Toralf Foerster <toralf.foerster@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
patch
|
blob
|
history
diff --cc
drivers/tty/pty.c
Simple merge