summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2012-10-16 15:25:04 +0000
committerpluknet <pluknet@FreeBSD.org>2012-10-16 15:25:04 +0000
commit132f1a7150174626c04d33d843e3d74d704f1846 (patch)
tree0cb1699e7a329375cc7e496b0ffab754cdf04367 /sys/dev
parent05f24a6b77a43334f14f31cd33a4f3e34a418ea2 (diff)
downloadFreeBSD-src-132f1a7150174626c04d33d843e3d74d704f1846.zip
FreeBSD-src-132f1a7150174626c04d33d843e3d74d704f1846.tar.gz
Fix aha(4) build with i386 LINT (which includes 'device mca').
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/aha/aha_mca.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/aha/aha_mca.c b/sys/dev/aha/aha_mca.c
index 0c50630..b954e07 100644
--- a/sys/dev/aha/aha_mca.c
+++ b/sys/dev/aha/aha_mca.c
@@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/mutex.h>
@@ -191,7 +192,7 @@ aha_mca_attach (device_t dev)
}
error = bus_setup_intr(dev, sc->irq, INTR_TYPE_CAM | INTR_ENTROPY |
- INTR_MPSAFE, NULL, aha_intr, sc, &aha->ih);
+ INTR_MPSAFE, NULL, aha_intr, sc, &sc->ih);
if (error) {
device_printf(dev, "Unable to register interrupt handler\n");
aha_detach(sc);
OpenPOWER on IntegriCloud