From: Paul Mundt <lethal@linux-sh.org>
Date: Thu, 10 May 2007 03:50:28 +0000 (+0900)
Subject: net: Trivial MLX4_DEBUG dependency fix.
X-Git-Tag: firefly_0821_release~29127^2~15
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f550d94cf9f86bc54e31dae2aee1a03d678c6e7f;p=firefly-linux-kernel-4.4.55.git

net: Trivial MLX4_DEBUG dependency fix.

CONFIG_MLX4_DEBUG works out to a def_bool y for those that have
CONFIG_EMBEDDED set.  Make it depend on MLX4_CORE.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index fa489b10c38c..b3f4ffa89d02 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2500,6 +2500,7 @@ config MLX4_CORE
 
 config MLX4_DEBUG
 	bool "Verbose debugging output" if (MLX4_CORE && EMBEDDED)
+	depends on MLX4_CORE
 	default y
 	---help---
 	  This option causes debugging code to be compiled into the