]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/oss/soundcard.c
[PATCH] disable unshare(CLONE_VM) for now
[linux-2.6-omap-h63xx.git] / sound / oss / soundcard.c
index 95fa81e26de21f395c3e9a13e7fab853728df3df..d33bb464f70e9a536a3448fdd7f69ae181bac0b7 100644 (file)
@@ -567,7 +567,7 @@ static int __init oss_init(void)
                devfs_mk_cdev(MKDEV(SOUND_MAJOR, dev_list[i].minor),
                                S_IFCHR | dev_list[i].mode,
                                "sound/%s", dev_list[i].name);
-               class_device_create(sound_class,
+               class_device_create(sound_class, NULL,
                                    MKDEV(SOUND_MAJOR, dev_list[i].minor),
                                    NULL, "%s", dev_list[i].name);
 
@@ -579,7 +579,7 @@ static int __init oss_init(void)
                                                dev_list[i].minor + (j*0x10)),
                                        S_IFCHR | dev_list[i].mode,
                                        "sound/%s%d", dev_list[i].name, j);
-                       class_device_create(sound_class,
+                       class_device_create(sound_class, NULL,
                                            MKDEV(SOUND_MAJOR, dev_list[i].minor + (j*0x10)),
                                            NULL, "%s%d", dev_list[i].name, j);
                }