summaryrefslogtreecommitdiff
path: root/drivers/isdn/Kconfig
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-11-06 23:55:03 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-07 18:59:26 -0500
commit7fd78edc470d968daacfb472226bc021081196bd (patch)
tree4e8cf5979e52e791dc7d46735cc77cead4659996 /drivers/isdn/Kconfig
parent0062b15c107d756dd7c9e41d023e87f876320c97 (diff)
isdn: Make CONFIG_ISDN depend on CONFIG_NETDEVICES
It doesn't make much sense to enable ISDN services if you don't intend to connect to a network. Therefore insisting that ISDN depends on NETDEVICES seems logical. We can then remove any guards mentioning NETDEVICES inside all subordinate drivers. This also has the nice side-effect of fixing the warning below when ISDN_I4L && !CONFIG_NETDEVICES at compile time. This patch fixes: drivers/isdn/i4l/isdn_common.c: In function ‘isdn_ioctl’: drivers/isdn/i4l/isdn_common.c:1278:8: warning: unused variable ‘s’ [-Wunused-variable] Cc: Karsten Keil <isdn@linux-pingi.de> Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/Kconfig')
-rw-r--r--drivers/isdn/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/Kconfig b/drivers/isdn/Kconfig
index a233ed53913a..86cd75a0e84d 100644
--- a/drivers/isdn/Kconfig
+++ b/drivers/isdn/Kconfig
@@ -4,7 +4,7 @@
menuconfig ISDN
bool "ISDN support"
- depends on NET
+ depends on NET && NETDEVICES
depends on !S390 && !UML
---help---
ISDN ("Integrated Services Digital Network", called RNIS in France)