Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6: (22 commits) [PATCH] devfs: Remove it from the feature_removal.txt file [PATCH] devfs: Last little devfs cleanups throughout the kernel tree. [PATCH] devfs: Rename TTY_DRIVER_NO_DEVFS to TTY_DRIVER_DYNAMIC_DEV [PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer needed [PATCH] devfs: Remove the line_driver devfs_name field as it's no longer needed [PATCH] devfs: Remove the videodevice devfs_name field as it's no longer needed [PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed [PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer needed [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree [PATCH] devfs: Remove devfs_remove() function from the kernel tree [PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree [PATCH] devfs: Remove devfs_mk_bdev() function from the kernel tree [PATCH] devfs: Remove devfs_mk_symlink() function from the kernel tree [PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree [PATCH] devfs: Remove devfs_*_tape() functions from the kernel tree [PATCH] devfs: Remove devfs support from the sound subsystem [PATCH] devfs: Remove devfs support from the ide subsystem. [PATCH] devfs: Remove devfs support from the serial subsystem [PATCH] devfs: Remove devfs from the init code [PATCH] devfs: Remove devfs from the partition code ...
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#ifdef CONFIG_KMOD
|
||||
#include <linux/kmod.h>
|
||||
#endif
|
||||
#include <linux/devfs_fs_kernel.h>
|
||||
#include <linux/err.h>
|
||||
#include <linux/device.h>
|
||||
#include <linux/efi.h>
|
||||
@@ -1331,8 +1330,6 @@ register_framebuffer(struct fb_info *fb_info)
|
||||
fb_add_videomode(&mode, &fb_info->modelist);
|
||||
registered_fb[i] = fb_info;
|
||||
|
||||
devfs_mk_cdev(MKDEV(FB_MAJOR, i),
|
||||
S_IFCHR | S_IRUGO | S_IWUGO, "fb/%d", i);
|
||||
event.info = fb_info;
|
||||
blocking_notifier_call_chain(&fb_notifier_list,
|
||||
FB_EVENT_FB_REGISTERED, &event);
|
||||
@@ -1359,7 +1356,6 @@ unregister_framebuffer(struct fb_info *fb_info)
|
||||
i = fb_info->node;
|
||||
if (!registered_fb[i])
|
||||
return -EINVAL;
|
||||
devfs_remove("fb/%d", i);
|
||||
|
||||
if (fb_info->pixmap.addr &&
|
||||
(fb_info->pixmap.flags & FB_PIXMAP_DEFAULT))
|
||||
@@ -1432,7 +1428,6 @@ fbmem_init(void)
|
||||
{
|
||||
create_proc_read_entry("fb", 0, NULL, fbmem_read_proc, NULL);
|
||||
|
||||
devfs_mk_dir("fb");
|
||||
if (register_chrdev(FB_MAJOR,"fb",&fb_fops))
|
||||
printk("unable to get major %d for fb devs\n", FB_MAJOR);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user