]> git.baikalelectronics.ru Git - kernel.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)
commit760becf60f60d1b1feab2b1aff4658b0e9681c14
treef6444a238b08503a98d40bf42605dadce6811ca5
parent0c6280f7948c8727716c0a7805da435f49de30fc
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