linux-mips
[Top] [All Lists]

[PATCH] MIPS: Octeon: Kconfig: fix helper dependency

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] MIPS: Octeon: Kconfig: fix helper dependency
From: Antony Pavlov <antonynpavlov@gmail.com>
Date: Thu, 17 Feb 2011 17:28:26 +0300
Cc: linux-mips@linux-mips.org, Antony Pavlov <antonynpavlov@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=8VbqB4HUwSSNGrjWF7nh4WuLZOEbYgMoAYnui4kVdEE=; b=Sph+3jcV5N8ywFwgVywWwA2uV5d0s8jykH88jXP6jpCqb4MzUFiSfJX7qlyfsPT4Fp +fLdp8rERrUT+dYK/YZcyRBTIl+xKoNxc7XeXbqWRMQUaZqctf5uDP4Hwx1A/fEg0CfP y/2u0JBBtMU4kWXGJKIiGWPe46kXvCpSkHEfY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=Ubn7TXXYk1LdoEdaSvsSanzKm+ZL/nimrjm8IXNC/Pm3I0hMmRcUVCiaSoRkvWRXxa z95xzThK+Xvv9xZ3Pbv5sx6hkKQsMkNzutiSyiHsGuOuxWm0vpSoZYSvuVEPPNdjKni2 7mE80UHl9/aZxRPhkzLTaFKJdWUclbA7ScWVA=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The option CAVIUM_OCTEON_HELPER does not depend
on CPU_CAVIUM_OCTEON option.
So my .config file for MIPS Malta board contains

 CONFIG_MIPS_MALTA=y
 ...
 # CONFIG_CAVIUM_OCTEON_SIMULATOR is not set
 # CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set
 ...
 CONFIG_CAVIUM_OCTEON_HELPER=y

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/cavium-octeon/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/cavium-octeon/Kconfig b/arch/mips/cavium-octeon/Kconfig
index caae228..a6a2f3c 100644
--- a/arch/mips/cavium-octeon/Kconfig
+++ b/arch/mips/cavium-octeon/Kconfig
@@ -97,7 +97,7 @@ config ARCH_SPARSEMEM_ENABLE
 
 config CAVIUM_OCTEON_HELPER
        def_bool y
-       depends on OCTEON_ETHERNET || PCI
+       depends on CPU_CAVIUM_OCTEON && (OCTEON_ETHERNET || PCI)
 
 config IOMMU_HELPER
        bool
-- 
1.7.1


<Prev in Thread] Current Thread [Next in Thread>