diff options
Diffstat (limited to 'sys-apps/rlocate/files/rlocate-0.5.2-no-devfs.patch')
-rw-r--r-- | sys-apps/rlocate/files/rlocate-0.5.2-no-devfs.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sys-apps/rlocate/files/rlocate-0.5.2-no-devfs.patch b/sys-apps/rlocate/files/rlocate-0.5.2-no-devfs.patch deleted file mode 100644 index 62bb6c117ecd..000000000000 --- a/sys-apps/rlocate/files/rlocate-0.5.2-no-devfs.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- src/rlocate-module/rlocate.c -+++ src/rlocate-module/rlocate.c -@@ -42,7 +42,6 @@ - #include <linux/rwsem.h> - #include <linux/spinlock.h> - #include <linux/device.h> --#include <linux/devfs_fs_kernel.h> - #include <linux/namei.h> - #include <linux/jiffies.h> - -@@ -673,8 +672,6 @@ - } - class_device_create(rlocate_class, NULL, MKDEV(Major, 0), NULL, - DEVICE_NAME); -- // devfs -- devfs_mk_cdev(MKDEV(Major, 0), S_IFCHR|S_IRUSR|S_IWUSR, DEVICE_NAME); - goto out; - - no_simple_class: -@@ -688,7 +685,6 @@ - */ - void rlocate_dev_unregister(void) - { -- devfs_remove(DEVICE_NAME); - class_device_destroy(rlocate_class, MKDEV(Major, 0)); - class_destroy(rlocate_class); - unregister_chrdev(Major, DEVICE_NAME); |