lkml.org 
[lkml]   [2014]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:x86/urgent] x86/intel/mid: Fix X86_INTEL_MID dependencies
Commit-ID:  edc6bc784028f2ef80dff0ff697363ff5a06e3a3
Gitweb: http://git.kernel.org/tip/edc6bc784028f2ef80dff0ff697363ff5a06e3a3
Author: David Cohen <david.a.cohen@linux.intel.com>
AuthorDate: Tue, 21 Jan 2014 10:41:39 -0800
Committer: Ingo Molnar <mingo@kernel.org>
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.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1390329699-20782-1-git-send-email-david.a.cohen@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cb9af47..3b6922e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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

\
 
 \ /
  Last update: 2014-01-25 16:41    [W:0.055 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site