]> git.karo-electronics.de Git - karo-tx-linux.git/commit
TTY: rocket, fix more no-PCI warnings
authorJiri Slaby <jslaby@suse.cz>
Thu, 25 Apr 2013 13:36:48 +0000 (15:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2013 19:15:59 +0000 (12:15 -0700)
commit416187caedf1c3b30f9bd1ffe4f4e5596fe65ae6
treef6444a238b08503a98d40bf42605dadce6811ca5
parent2b359172e013c6b1b7e424e5be92a70fc7cceaaf
TTY: rocket, fix more no-PCI warnings

Commit "TTY: rocket, fix compilation warning" fixed a compilation
warning, but there was still a problem with !CONFIG_PCI configs. So
fix them for good by coupling the PCI functions together and moving
them inside a common #ifdef.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/rocket.c