]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
x86/intel/mid: Fix X86_INTEL_MID dependencies
authorDavid Cohen <david.a.cohen@linux.intel.com>
Tue, 21 Jan 2014 18:41:39 +0000 (10:41 -0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 25 Jan 2014 08:17:32 +0000 (09:17 +0100)
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

index cb9af474dfcaf501af0a6a70ae7fa10116b99460..3b6922ebf170f836769b9dbaf82082f219bd4bfb 100644 (file)
@@ -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