summaryrefslogtreecommitdiffstats
path: root/sys
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
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')
-rw-r--r--sys/dev/sound/pci/envy24.c2
-rw-r--r--sys/dev/sound/pci/envy24ht.c2
-rw-r--r--sys/dev/sound/pci/spicds.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/pci/envy24.c b/sys/dev/sound/pci/envy24.c
index 8763011..1ce1be6 100644
--- a/sys/dev/sound/pci/envy24.c
+++ b/sys/dev/sound/pci/envy24.c
@@ -109,7 +109,7 @@ struct cfg_info {
/* device private data */
struct sc_info {
device_t dev;
- void *lock;
+ struct mtx *lock;
/* Control/Status registor */
struct resource *cs;
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;
diff --git a/sys/dev/sound/pci/spicds.c b/sys/dev/sound/pci/spicds.c
index e9b29f1..e43edb1 100644
--- a/sys/dev/sound/pci/spicds.c
+++ b/sys/dev/sound/pci/spicds.c
@@ -45,7 +45,7 @@ struct spicds_info {
unsigned int dvc; /* De-emphasis and Volume Control */
unsigned int left, right;
char name[SPICDS_NAMELEN];
- void *lock;
+ struct mtx *lock;
};
static void
OpenPOWER on IntegriCloud