diff options
| author | Jiri Slaby <[email protected]> | 2013-04-15 07:52:06 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-04-15 11:00:59 -0700 |
| commit | f678c440022eb6274840cd11edd52a5dcc7bf1b3 (patch) | |
| tree | d09634003588b496f62f0fd280082b3d5a5c6d7d /scripts/patch-kernel | |
| 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 <[email protected]>
Reported-by: Toralf Foerster <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions