Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2013 15:19:00 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r251182 - stable/9/sys/dev/aha
Message-ID:  <201305311519.r4VFJ1hq042269@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Fri May 31 15:19:00 2013
New Revision: 251182
URL: http://svnweb.freebsd.org/changeset/base/251182

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

Modified:
  stable/9/sys/dev/aha/aha_mca.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/aha/aha_mca.c
==============================================================================
--- stable/9/sys/dev/aha/aha_mca.c	Fri May 31 14:48:37 2013	(r251181)
+++ stable/9/sys/dev/aha/aha_mca.c	Fri May 31 15:19:00 2013	(r251182)
@@ -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?201305311519.r4VFJ1hq042269>