summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/envy24ht.c
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2007-02-14 15:23:44 +0000
committerariff <ariff@FreeBSD.org>2007-02-14 15:23:44 +0000
commit0ecda93946937a44b4c273cbeee09f600ca6f59a (patch)
tree2874f32905e54a789a22225840fe7477d4d76caa /sys/dev/sound/pci/envy24ht.c
parent778df3a8f11b70dffa57f7d45ca75b6faba808ac (diff)
downloadFreeBSD-src-0ecda93946937a44b4c273cbeee09f600ca6f59a.zip
FreeBSD-src-0ecda93946937a44b4c273cbeee09f600ca6f59a.tar.gz
Fix compilation for statically linked snd_envy24{ht}/spicds. Use explicit
struct mtx rather than void pointer. PR: kern/109147
Diffstat (limited to 'sys/dev/sound/pci/envy24ht.c')
-rw-r--r--sys/dev/sound/pci/envy24ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/envy24ht.c b/sys/dev/sound/pci/envy24ht.c
index 3093766..784e8fd 100644
--- a/sys/dev/sound/pci/envy24ht.c
+++ b/sys/dev/sound/pci/envy24ht.c
@@ -110,7 +110,7 @@ struct cfg_info {
/* device private data */
struct sc_info {
device_t dev;
- void *lock;
+ struct mtx *lock;
/* Control/Status registor */
struct resource *cs;
OpenPOWER on IntegriCloud