diff options
author | Jiri Slaby <jslaby@suse.cz> | 2013-04-15 09:52:06 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-15 22:00:59 +0400 |
commit | f678c440022eb6274840cd11edd52a5dcc7bf1b3 (patch) | |
tree | d09634003588b496f62f0fd280082b3d5a5c6d7d /drivers/tty/serial/sccnxp.c | |
parent | 11b397e6eb12191300ca19290f29f51f61118953 (diff) | |
download | linux-f678c440022eb6274840cd11edd52a5dcc7bf1b3.tar.xz |
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/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions