aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bnxt/bnxt_en/if_bnxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/bnxt/bnxt_en/if_bnxt.c')
-rw-r--r--sys/dev/bnxt/bnxt_en/if_bnxt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/bnxt/bnxt_en/if_bnxt.c b/sys/dev/bnxt/bnxt_en/if_bnxt.c
index feac3ce54a29..471e26a4b252 100644
--- a/sys/dev/bnxt/bnxt_en/if_bnxt.c
+++ b/sys/dev/bnxt/bnxt_en/if_bnxt.c
@@ -48,6 +48,7 @@
#include <net/ethernet.h>
#include <net/iflib.h>
+#define WANT_NATIVE_PCI_GET_SLOT
#include <linux/pci.h>
#include <linux/kmod.h>
#include <linux/module.h>