Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Heiko Carstens and committed by
Greg Kroah-Hartman
8ea95e08 f9e0b159

+1
+1
drivers/misc/Kconfig
··· 146 146 147 147 config INTEL_MID_PTI 148 148 tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard" 149 + depends on PCI 149 150 default n 150 151 help 151 152 The PTI (Parallel Trace Interface) driver directs