summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa/ad1816.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
committerjhb <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
commite41b9c8bc985e43b76dd58c8d1fcb8e2f492894b (patch)
treeb793de57a7a8d6dd735f55c26084755dcbbc8156 /sys/dev/sound/isa/ad1816.c
parent4ca17c54a379a9078a74f29d8d42cf1ddeae30ff (diff)
downloadFreeBSD-src-e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b.zip
FreeBSD-src-e41b9c8bc985e43b76dd58c8d1fcb8e2f492894b.tar.gz
Add lock type arguments to callers of snd_mtxcreate().
Diffstat (limited to 'sys/dev/sound/isa/ad1816.c')
-rw-r--r--sys/dev/sound/isa/ad1816.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/isa/ad1816.c b/sys/dev/sound/isa/ad1816.c
index 18bbf87..7371b89 100644
--- a/sys/dev/sound/isa/ad1816.c
+++ b/sys/dev/sound/isa/ad1816.c
@@ -587,7 +587,7 @@ ad1816_attach(device_t dev)
ad1816 = (struct ad1816_info *)malloc(sizeof *ad1816, M_DEVBUF, M_NOWAIT | M_ZERO);
if (!ad1816) return ENXIO;
- ad1816->lock = snd_mtxcreate(device_get_nameunit(dev));
+ ad1816->lock = snd_mtxcreate(device_get_nameunit(dev), "sound softc");
ad1816->io_rid = 2;
ad1816->irq_rid = 0;
ad1816->drq1_rid = 0;
OpenPOWER on IntegriCloud