diff options
| author | Brandon Bergren <bdragon@FreeBSD.org> | 2020-02-25 03:35:52 +0000 |
|---|---|---|
| committer | Brandon Bergren <bdragon@FreeBSD.org> | 2020-02-25 03:35:52 +0000 |
| commit | b9931c0786d717ff5665ec22cce026375c2d759e (patch) | |
| tree | c78bc906b761ba0424dace67feaf15a3755d5808 /sys/dev/dpaa | |
| parent | d029e3b3f7ca49e4ba1e66d00d5230f532cdb1f1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/dpaa')
| -rw-r--r-- | sys/dev/dpaa/portals_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/dpaa/portals_common.c b/sys/dev/dpaa/portals_common.c index 02729f2fcb7d..971dd5793972 100644 --- a/sys/dev/dpaa/portals_common.c +++ b/sys/dev/dpaa/portals_common.c @@ -120,8 +120,7 @@ dpaa_portal_alloc_res(device_t dev, struct dpaa_portals_devinfo *di, int cpu) device_printf(dev, "Could not allocate irq.\n"); return (ENXIO); } - - err = XX_PreallocAndBindIntr((uintptr_t)sc->sc_dp[cpu].dp_ires, cpu); + err = XX_PreallocAndBindIntr(dev, (uintptr_t)sc->sc_dp[cpu].dp_ires, cpu); if (err != E_OK) { device_printf(dev, "Could not prealloc and bind interrupt\n"); |
