pti: add missing CONFIG_PCI dependency
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 2 Aug 2011 08:08:34 +0000 (10:08 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 21:12:23 +0000 (14:12 -0700)
commit8ea95e08711f504d83281e762ca65a849a89593e
tree0abdf70a6b5942ad5e3b48e98c470b2bde493e59
parentf9e0b159dbff693bacb64a929e04f442df985b50
pti: add missing CONFIG_PCI dependency

allmodconfig compile fails on s390 because of the new PTI driver:

drivers/misc/pti.c:407:3: error: implicit declaration of function 'pci_iounmap'
drivers/misc/pti.c:410:3: error: implicit declaration of function 'pci_release_region'

Add a 'depends on PCI' statement so it doesn't get compiled.

Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Tracey Dent <tdent48227@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/Kconfig