bnxt_en: Fix randconfig build errors.
authorMichael Chan <michael.chan@broadcom.com>
Sat, 28 Oct 2017 05:56:10 +0000 (01:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Oct 2017 09:24:15 +0000 (18:24 +0900)
commit952c5719aac6587f1e0add97dca79f9e73887f9b
tree5fcb16f2fa03267333a7086efc0be6504bd5ead0
parentc859e21a35ce5604dde0b618169680aa3c7e3bdb
bnxt_en: Fix randconfig build errors.

Fix undefined symbols when CONFIG_VLAN_8021Q or CONFIG_INET is not set.

Fixes: 8c95f773b4a3 ("bnxt_en: add support for Flower based vxlan encap/decap offload")
Reported-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c