From: Jiri Slaby Date: Mon, 15 Apr 2013 05:52:06 +0000 (+0200) Subject: TTY: rocket, fix compilation warning X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~136^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f678c440022eb6274840cd11edd52a5dcc7bf1b3;p=pandora-kernel.git 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 Reported-by: Toralf Foerster Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed