public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] misc/pti.c: Fix build error when PCI is not selected
@ 2011-08-11 16:23 Tracey Dent
  2011-08-11 16:45 ` Randy Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Tracey Dent @ 2011-08-11 16:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, gregkh, tdent48227

When you try to build INTEL_MID_PTI without having PCI
enabled. It fails like this-

 CC [M]  drivers/misc/pti.o
 drivers/misc/pti.c: In function ‘pti_pci_remove’:
 drivers/misc/pti.c:410: error: implicit declaration of function ‘pci_release_region’
 drivers/misc/pti.c: In function ‘pti_pci_probe’:
 drivers/misc/pti.c:859: error: implicit declaration of function ‘pci_request_region’

So make INTEL_MID_PTI depend on PCI to fix build error.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
 drivers/misc/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 0a4d86c..2d6423c 100644
--- 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
-- 
1.7.6.433.g1421f


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

end of thread, other threads:[~2011-08-19 18:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-11 16:23 [PATCH 1/1] misc/pti.c: Fix build error when PCI is not selected Tracey Dent
2011-08-11 16:45 ` Randy Dunlap
2011-08-11 16:56   ` Greg KH
2011-08-11 16:59   ` Tracey Dent
2011-08-18 16:24     ` Ingo Molnar
2011-08-18 18:39       ` Greg KH
2011-08-18 20:29         ` Ingo Molnar
2011-08-19 18:52         ` Randy Dunlap

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