aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm/fake.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pcm/fake.c')
-rw-r--r--sys/dev/sound/pcm/fake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/fake.c b/sys/dev/sound/pcm/fake.c
index 900165386e5c..aeb47efb2323 100644
--- a/sys/dev/sound/pcm/fake.c
+++ b/sys/dev/sound/pcm/fake.c
@@ -119,7 +119,7 @@ fkchan_setup(device_t dev)
c = malloc(sizeof(*c), M_DEVBUF, M_WAITOK);
c->methods = kobj_create(&fkchan_class, M_DEVBUF, M_WAITOK);
- c->parent = d;
+ c->parentsnddev = d;
snprintf(c->name, CHN_NAMELEN, "%s:fake", device_get_nameunit(dev));
return c;