+ drivers-misc-kconfig-fix-build-error-when-pci-is-not-selected.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/misc/Kconfig: fix build error when PCI is not selected
has been added to the -mm tree.  Its filename is
     drivers-misc-kconfig-fix-build-error-when-pci-is-not-selected.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/misc/Kconfig: fix build error when PCI is not selected
From: Tracey Dent <tdent48227@xxxxxxxxx>

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@xxxxxxxxx>
Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Greg KH <gregkh@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

diff -puN drivers/misc/Kconfig~drivers-misc-kconfig-fix-build-error-when-pci-is-not-selected drivers/misc/Kconfig
--- a/drivers/misc/Kconfig~drivers-misc-kconfig-fix-build-error-when-pci-is-not-selected
+++ a/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
_

Patches currently in -mm which might be from tdent48227@xxxxxxxxx are

drivers-misc-kconfig-fix-build-error-when-pci-is-not-selected.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux