From: Arnaldo Carvalho de Melo <acme@mandriva.com>
Date: Sat, 27 Aug 2005 05:35:30 +0000 (-0300)
Subject: [DCCP]: Make the Debug Menu available when DCCP is statically linked too
X-Git-Tag: firefly_0821_release~42189^2~15
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=75b3f207b433dcb807fcf0f47de1c8398571ba5f;p=firefly-linux-kernel-4.4.55.git

[DCCP]: Make the Debug Menu available when DCCP is statically linked too

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/net/dccp/Kconfig b/net/dccp/Kconfig
index 3023f702eb87..187ac182e24b 100644
--- a/net/dccp/Kconfig
+++ b/net/dccp/Kconfig
@@ -27,7 +27,7 @@ config INET_DCCP_DIAG
 source "net/dccp/ccids/Kconfig"
 
 menu "DCCP Kernel Hacking"
-	depends on IP_DCCP=m && DEBUG_KERNEL=y
+	depends on IP_DCCP && DEBUG_KERNEL=y
 
 config IP_DCCP_DEBUG
 	bool "DCCP debug messages"
@@ -37,7 +37,7 @@ config IP_DCCP_DEBUG
 	  Just say N.
 
 config IP_DCCP_UNLOAD_HACK
-	depends on IP_DCCP_CCID3=m
+	depends on IP_DCCP=m && IP_DCCP_CCID3=m
 	bool "DCCP control sock unload hack"
 	---help---
 	  Enable this to be able to unload the dccp module when the it