X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fsound_core.c;h=394b53e20cb8bd36532f23ba14078a67120759f4;hb=654143ee3a73b2793350b039a135d9cd3101147b;hp=954f994592ab3d7ff6b2f29a84816fbb38d1a039;hpb=d7f6884ae0ae6e406ec3500fcde16e8f51642460;p=linux-2.6 diff --git a/sound/sound_core.c b/sound/sound_core.c index 954f994592..394b53e20c 100644 --- a/sound/sound_core.c +++ b/sound/sound_core.c @@ -174,7 +174,7 @@ static int sound_insert_unit(struct sound_unit **list, struct file_operations *f devfs_mk_cdev(MKDEV(SOUND_MAJOR, s->unit_minor), S_IFCHR | mode, s->name); - class_device_create(sound_class, MKDEV(SOUND_MAJOR, s->unit_minor), + class_device_create(sound_class, NULL, MKDEV(SOUND_MAJOR, s->unit_minor), dev, s->name+6); return r;