Skip to content

Commit

Permalink
pti: add missing CONFIG_PCI dependency
Browse files Browse the repository at this point in the history
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 <[email protected]>

Signed-off-by: Tracey Dent <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Sergei Trofimovich <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
heicarst authored and gregkh committed Aug 22, 2011
1 parent f9e0b15 commit 8ea95e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ea95e0

Please sign in to comment.