diff options
| author | Jiri Slaby <[email protected]> | 2013-04-15 05:52:06 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-04-15 18:00:59 +0000 |
| commit | f678c440022eb6274840cd11edd52a5dcc7bf1b3 (patch) | |
| tree | d09634003588b496f62f0fd280082b3d5a5c6d7d /drivers/tty/serial/sccnxp.c | |
| parent | Merge 3.9-rc7 intp tty-next (diff) | |
| download | kernel-f678c440022eb6274840cd11edd52a5dcc7bf1b3.tar.gz kernel-f678c440022eb6274840cd11edd52a5dcc7bf1b3.zip | |
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 <[email protected]>
Reported-by: Toralf Foerster <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
