summaryrefslogtreecommitdiff
path: root/sys/dev/aac
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
committerEd Schouten <ed@FreeBSD.org>2011-11-07 06:44:47 +0000
commitd745c852becf3792a2185003947324721209195a (patch)
tree3278fb8afc568f22cc5eda0e74926191fc1857df /sys/dev/aac
parentfd1ca22afbc91a5524d01df9d38afecf3178a149 (diff)
downloadsrc-test2-d745c852becf3792a2185003947324721209195a.tar.gz
src-test2-d745c852becf3792a2185003947324721209195a.zip
Notes
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac.c2
-rw-r--r--sys/dev/aac/aac_cam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index 45cfa023430c..ace8b13be458 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -219,7 +219,7 @@ static struct cdevsw aac_cdevsw = {
.d_name = "aac",
};
-MALLOC_DEFINE(M_AACBUF, "aacbuf", "Buffers for the AAC driver");
+static MALLOC_DEFINE(M_AACBUF, "aacbuf", "Buffers for the AAC driver");
/* sysctl node */
SYSCTL_NODE(_hw, OID_AUTO, aac, CTLFLAG_RD, 0, "AAC driver parameters");
diff --git a/sys/dev/aac/aac_cam.c b/sys/dev/aac/aac_cam.c
index b5c3b2662b09..2fafa97602a2 100644
--- a/sys/dev/aac/aac_cam.c
+++ b/sys/dev/aac/aac_cam.c
@@ -104,7 +104,7 @@ static driver_t aac_pass_driver = {
DRIVER_MODULE(aacp, aac, aac_pass_driver, aac_pass_devclass, 0, 0);
MODULE_DEPEND(aacp, cam, 1, 1, 1);
-MALLOC_DEFINE(M_AACCAM, "aaccam", "AAC CAM info");
+static MALLOC_DEFINE(M_AACCAM, "aaccam", "AAC CAM info");
static void
aac_cam_rescan(struct aac_softc *sc, uint32_t channel, uint32_t target_id)