diff options
author | Jiri Slaby <jslaby@suse.cz> | 2013-04-15 07:52:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-15 11:00:59 -0700 |
commit | f678c440022eb6274840cd11edd52a5dcc7bf1b3 (patch) | |
tree | d09634003588b496f62f0fd280082b3d5a5c6d7d /drivers/tty/pty.c | |
parent | 11b397e6eb12191300ca19290f29f51f61118953 (diff) |
TTY: rocket, fix compilation warning
When CONFIG_PCI is unset, we see these warnings in rocket:
drivers/tty/rocket.c:3140:13: warning: 'rmSpeakerReset' defined but not used
drivers/tty/rocket.c:2599:12: warning: 'sPCIInitController' defined but not used
Fix those by moving the functions to one place and make them depend on
CONFIG_PCI.
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>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions