Blob Blame History Raw
From: Jeff Mahoney <jeffm@suse.com>
Subject: PTI: depends on X86 && PCI
Patch-mainline: Clarification on dependencies sent to driver author on 24 Aug 2011

Building on ia64 yields this build failure:
drivers/misc/pti.c:657:3: error: implicit declaration of function 'copy_from_user' [-Werror=implicit-function-declaration]

Since the PTI device is specific to the Penwell type of Intel Atom
device, make the driver depend on X86. Further, it uses the PCI
infrastructure and should depend on PCI as well.

Cc: J Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---

 drivers/misc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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