cnic : Cleanup CONFIG_IPV6 & VLAN check
authorAnish Bhatt <anish@chelsio.com>
Fri, 5 Sep 2014 00:12:57 +0000 (17:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 03:47:14 +0000 (20:47 -0700)
commitc99d667e852766afc755fa4430be64bb94e5ea1c
treefc8bac3518d0bbadaf8c5373f1d0432d2a3c87fe
parente793c0f70e9bdf4a2e71c151a1a3cf85c4db92ad
cnic : Cleanup CONFIG_IPV6 & VLAN check

The cnic module needs to ensure that if ipv6 support is compiled as a module,
then the cnic module cannot be compiled as built-in as it depends on ipv6.
Made this check cleaner via Kconfig

Use simpler IS_ENABLED for CONFIG_VLAN_8021Q check

Signed-off-by: Anish Bhatt <anish@chelsio.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/Kconfig
drivers/net/ethernet/broadcom/cnic.c