[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>
这个提交包含在:
@@ -1505,7 +1505,7 @@ static int __init capi_init(void)
|
||||
return PTR_ERR(capi_class);
|
||||
}
|
||||
|
||||
class_device_create(capi_class, MKDEV(capi_major, 0), NULL, "capi");
|
||||
class_device_create(capi_class, NULL, MKDEV(capi_major, 0), NULL, "capi");
|
||||
devfs_mk_cdev(MKDEV(capi_major, 0), S_IFCHR | S_IRUSR | S_IWUSR,
|
||||
"isdn/capi20");
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户