summaryrefslogtreecommitdiff
path: root/drivers/isdn/i4l/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/i4l/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/i4l/Kconfig')
-rw-r--r--drivers/isdn/i4l/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/i4l/Kconfig b/drivers/isdn/i4l/Kconfig
index 2302fbe70ac6..9c6650ea848e 100644
--- a/drivers/isdn/i4l/Kconfig
+++ b/drivers/isdn/i4l/Kconfig
@@ -6,7 +6,7 @@ if ISDN_I4L
config ISDN_PPP
bool "Support synchronous PPP"
- depends on INET && NETDEVICES
+ depends on INET
select SLHC
help
Over digital connections such as ISDN, there is no need to