diff options
author | Arnd Bergmann <[email protected]> | 2015-11-04 16:00:32 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-11-05 00:00:25 -0500 |
commit | df761ea1f39fe1c020c31327656bce7a5a406201 (patch) | |
tree | e05fe00c0b89c800bda2209505993c1f2df246cc /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | 8f25348b65cd073f77945f559ab1e5de83422cd1 (diff) |
bnxt_en: add VXLAN dependency
VXLAN may be a loadable module, and this driver cannot be built-in
in that case, or we get a link error:
drivers/built-in.o: In function `__bnxt_open_nic':
drivers/net/ethernet/broadcom/bnxt/bnxt.c:4581: undefined reference to `vxlan_get_rx_port'
This adds a Kconfig dependency that ensures that either VXLAN is
disabled (which the driver handles correctly), or we depend on
VXLAN itself and disallow built-in compilation when VXLAN is
a module.
Signed-off-by: Arnd Bergmann <[email protected]>
Fixes: c0c050c58d84 ("bnxt_en: New Broadcom ethernet driver.")
Acked-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions