Author: pluknet
Date: Tue Oct 16 15:25:04 2012
New Revision: 241611
URL: http://svn.freebsd.org/changeset/base/241611

Log:
  Fix aha(4) build with i386 LINT (which includes 'device mca').

Modified:
  head/sys/dev/aha/aha_mca.c

Modified: head/sys/dev/aha/aha_mca.c
==============================================================================
--- head/sys/dev/aha/aha_mca.c  Tue Oct 16 13:37:54 2012        (r241610)
+++ head/sys/dev/aha/aha_mca.c  Tue Oct 16 15:25:04 2012        (r241611)
@@ -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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to