Skip to contentSkip to conversation

x86: intel-mid: fix possible warning when selecting X86_INTEL_MID

PATCH New David Cohen 2 participants 2 messages Jan 21, 2014 – Jan 25, 2014 1 message not in the archive x86

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 52de5cc8.5oL87RQWKI3CsbWx%[email protected]

#1 lore raw

PATCH 1/1 x86: intel-mid: fix possible warning when selecting X86_INTEL_MID

This patch fixes the following warning:

warning: (X86_INTEL_MID) selects INTEL_SCU_IPC which has unmet direct dependencies (X86 && X86_PLATFORM_DEVICES && X86_INTEL_MID)

It happens because when selected, X86_INTEL_MID tries to select INTEL_SCU_IPC regardless all its dependencies are met or not. This patch fixes it by adding the missing X86_PLATFORM_DEVICES dependency to X86_INTEL_MID.

---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/x86/Kconfig +1 -0
index edcf80eda566..2e446035fe92 100644
@@ -442,6 +442,7 @@ config X86_INTEL_MID
 	bool "Intel MID platform support"
 	depends on X86_32
 	depends on X86_EXTENDED_PLATFORM
+	depends on X86_PLATFORM_DEVICES
 	depends on PCI
 	depends on PCI_GOANY
 	depends on X86_IO_APIC
Signature · 1 line
1.8.4.2
#2 lore raw

[tip:x86/urgent] x86/intel/mid: Fix X86_INTEL_MID dependencies

x86/intel/mid: Fix X86_INTEL_MID dependencies
Commit-ID:  edc6bc784028f2ef80dff0ff697363ff5a06e3a3
Gitweb:     http://git.kernel.org/tip/edc6bc784028f2ef80dff0ff697363ff5a06e3a3
Author:     David Cohen <[email protected]>
AuthorDate: Tue, 21 Jan 2014 10:41:39 -0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sat, 25 Jan 2014 09:17:32 +0100

x86/intel/mid: Fix X86_INTEL_MID dependencies

This patch fixes the following warning:

  warning: (X86_INTEL_MID) selects INTEL_SCU_IPC which has unmet direct dependencies (X86 && X86_PLATFORM_DEVICES && X86_INTEL_MID)

It happens because when selected, X86_INTEL_MID tries to select INTEL_SCU_IPC regardless all its dependencies are met or not.

This patch fixes it by adding the missing X86_PLATFORM_DEVICES dependency to X86_INTEL_MID.

---
 arch/x86/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/x86/Kconfig +1 -0
index cb9af47..3b6922e 100644
@@ -443,6 +443,7 @@ config X86_INTEL_MID
 	bool "Intel MID platform support"
 	depends on X86_32
 	depends on X86_EXTENDED_PLATFORM
+	depends on X86_PLATFORM_DEVICES
 	depends on PCI
 	depends on PCI_GOANY
 	depends on X86_IO_APIC