From 0ecda93946937a44b4c273cbeee09f600ca6f59a Mon Sep 17 00:00:00 2001 From: ariff Date: Wed, 14 Feb 2007 15:23:44 +0000 Subject: Fix compilation for statically linked snd_envy24{ht}/spicds. Use explicit struct mtx rather than void pointer. PR: kern/109147 --- sys/dev/sound/pci/envy24ht.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sound/pci/envy24ht.c') 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; -- cgit v1.1