aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pci/envy24.c
diff options
context:
space:
mode:
authorAriff Abdullah <ariff@FreeBSD.org>2007-02-14 15:23:44 +0000
committerAriff Abdullah <ariff@FreeBSD.org>2007-02-14 15:23:44 +0000
commitd82080b4cd151e35bd5dab1b3996b0083702f1cf (patch)
tree2874f32905e54a789a22225840fe7477d4d76caa /sys/dev/sound/pci/envy24.c
parentaea52f1bf8258b1c44539ab8f4e556d47c74e626 (diff)
downloadsrc-d82080b4cd151e35bd5dab1b3996b0083702f1cf.tar.gz
src-d82080b4cd151e35bd5dab1b3996b0083702f1cf.zip
Fix compilation for statically linked snd_envy24{ht}/spicds. Use explicit
struct mtx rather than void pointer. PR: kern/109147
Notes
Notes: svn path=/head/; revision=166713
Diffstat (limited to 'sys/dev/sound/pci/envy24.c')
-rw-r--r--sys/dev/sound/pci/envy24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/envy24.c b/sys/dev/sound/pci/envy24.c
index 8763011e3983..1ce1be6ad74a 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;