projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
isdn
/
hardware
/
eicon
/
divasmain.c
diff --git
a/drivers/isdn/hardware/eicon/divasmain.c
b/drivers/isdn/hardware/eicon/divasmain.c
index c9b26e86d183090555540d582eca4631c03d05d8..71b3e06cbe39c0e8c1fed19263f321a14e143ee7 100644
(file)
--- a/
drivers/isdn/hardware/eicon/divasmain.c
+++ b/
drivers/isdn/hardware/eicon/divasmain.c
@@
-690,7
+690,6
@@
static int DIVA_INIT_FUNCTION divas_register_chrdev(void)
DRIVERLNAME);
return (0);
}
- devfs_mk_cdev(MKDEV(major, 0), S_IFCHR|S_IRUSR|S_IWUSR, DEVNAME);
return (1);
}