Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2012 15:25:04 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241611 - head/sys/dev/aha
Message-ID:  <201210161525.q9GFP4um066818@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210161525.q9GFP4um066818>