diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-11-06 23:55:03 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-07 23:59:26 (GMT) |
commit | 7fd78edc470d968daacfb472226bc021081196bd (patch) | |
tree | 4e8cf5979e52e791dc7d46735cc77cead4659996 /drivers/net | |
parent | 0062b15c107d756dd7c9e41d023e87f876320c97 (diff) | |
download | linux-7fd78edc470d968daacfb472226bc021081196bd.tar.xz |
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/net')
0 files changed, 0 insertions, 0 deletions