summaryrefslogtreecommitdiffstats
path: root/sys/dev/xe/if_xe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/xe/if_xe.c')
-rw-r--r--sys/dev/xe/if_xe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c
index ec8bb01..accaafe 100644
--- a/sys/dev/xe/if_xe.c
+++ b/sys/dev/xe/if_xe.c
@@ -1925,8 +1925,8 @@ xe_activate(device_t dev)
xe_deactivate(dev);
return ENOMEM;
}
- if ((err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, xe_intr, sc,
- &sc->intrhand)) != 0) {
+ if ((err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, NULL,
+ xe_intr, sc, &sc->intrhand)) != 0) {
xe_deactivate(dev);
return err;
}
OpenPOWER on IntegriCloud