public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pti: add missing CONFIG_PCI dependency
@ 2011-08-02  8:08 Heiko Carstens
  2011-08-02 15:11 ` Randy Dunlap
  0 siblings, 1 reply; 7+ messages in thread
From: Heiko Carstens @ 2011-08-02  8:08 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: J Freyensee, linux-kernel

From: Heiko Carstens <heiko.carstens@de.ibm.com>

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: Heiko Carstens <heiko.carstens@de.ibm.com>
---
 drivers/misc/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -146,6 +146,7 @@ config PHANTOM
 
 config INTEL_MID_PTI
 	tristate "Parallel Trace Interface for MIPI P1149.7 cJTAG standard"
+	depends on PCI
 	default n
 	help
 	  The PTI (Parallel Trace Interface) driver directs

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-08-03 16:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-02  8:08 [PATCH] pti: add missing CONFIG_PCI dependency Heiko Carstens
2011-08-02 15:11 ` Randy Dunlap
2011-08-02 16:17   ` J Freyensee
2011-08-02 16:24     ` Greg KH
2011-08-02 16:36       ` J Freyensee
2011-08-03  7:20   ` Geert Uytterhoeven
2011-08-03 16:04     ` J Freyensee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox