[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
Removes the devfs_mk_cdev() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -337,9 +337,6 @@ static int __init dtlk_init(void)
|
||||
if (dtlk_dev_probe() == 0)
|
||||
printk(", MAJOR %d\n", dtlk_major);
|
||||
|
||||
devfs_mk_cdev(MKDEV(dtlk_major, DTLK_MINOR),
|
||||
S_IFCHR | S_IRUSR | S_IWUSR, "dtlk");
|
||||
|
||||
init_timer(&dtlk_timer);
|
||||
dtlk_timer.function = dtlk_timer_tick;
|
||||
init_waitqueue_head(&dtlk_process_list);
|
||||
|
Reference in New Issue
Block a user