[PATCH] Driver Core: fix up all callers of class_device_create()

The previous patch adding the ability to nest struct class_device
changed the paramaters to the call class_device_create().  This patch
fixes up all in-kernel users of the function.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
这个提交包含在:
Greg Kroah-Hartman
2005-10-27 22:25:43 -07:00
父节点 51d172d5f3
当前提交 53f4654272
修改 52 个文件,包含 86 行新增73 行删除

查看文件

@@ -400,7 +400,7 @@ static int __init cosa_init(void)
goto out_chrdev;
}
for (i=0; i<nr_cards; i++) {
class_device_create(cosa_class, MKDEV(cosa_major, i),
class_device_create(cosa_class, NULL, MKDEV(cosa_major, i),
NULL, "cosa%d", i);
err = devfs_mk_cdev(MKDEV(cosa_major, i),
S_IFCHR|S_IRUSR|S_IWUSR,