diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 17:19:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 17:19:21 -0400 |
commit | 602cada851b28c5792339786efe872fbdc1f5d41 (patch) | |
tree | 233d474b74d6038b5bb54a07ad91dd1bb10b0218 /drivers/video/fbmem.c | |
parent | 82991c6f2c361acc17279b8124d9bf1878973435 (diff) | |
parent | fee68d1cc0d9bd863e51c16cdcd707737b16bb38 (diff) |
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
...
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r-- | drivers/video/fbmem.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c index 31143afe7c95..a171daab0ad0 100644 --- a/drivers/video/fbmem.c +++ b/drivers/video/fbmem.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #ifdef CONFIG_KMOD | 32 | #ifdef CONFIG_KMOD |
33 | #include <linux/kmod.h> | 33 | #include <linux/kmod.h> |
34 | #endif | 34 | #endif |
35 | #include <linux/devfs_fs_kernel.h> | ||
36 | #include <linux/err.h> | 35 | #include <linux/err.h> |
37 | #include <linux/device.h> | 36 | #include <linux/device.h> |
38 | #include <linux/efi.h> | 37 | #include <linux/efi.h> |
@@ -1331,8 +1330,6 @@ register_framebuffer(struct fb_info *fb_info) | |||
1331 | fb_add_videomode(&mode, &fb_info->modelist); | 1330 | fb_add_videomode(&mode, &fb_info->modelist); |
1332 | registered_fb[i] = fb_info; | 1331 | registered_fb[i] = fb_info; |
1333 | 1332 | ||
1334 | devfs_mk_cdev(MKDEV(FB_MAJOR, i), | ||
1335 | S_IFCHR | S_IRUGO | S_IWUGO, "fb/%d", i); | ||
1336 | event.info = fb_info; | 1333 | event.info = fb_info; |
1337 | blocking_notifier_call_chain(&fb_notifier_list, | 1334 | blocking_notifier_call_chain(&fb_notifier_list, |
1338 | FB_EVENT_FB_REGISTERED, &event); | 1335 | FB_EVENT_FB_REGISTERED, &event); |
@@ -1359,7 +1356,6 @@ unregister_framebuffer(struct fb_info *fb_info) | |||
1359 | i = fb_info->node; | 1356 | i = fb_info->node; |
1360 | if (!registered_fb[i]) | 1357 | if (!registered_fb[i]) |
1361 | return -EINVAL; | 1358 | return -EINVAL; |
1362 | devfs_remove("fb/%d", i); | ||
1363 | 1359 | ||
1364 | if (fb_info->pixmap.addr && | 1360 | if (fb_info->pixmap.addr && |
1365 | (fb_info->pixmap.flags & FB_PIXMAP_DEFAULT)) | 1361 | (fb_info->pixmap.flags & FB_PIXMAP_DEFAULT)) |
@@ -1432,7 +1428,6 @@ fbmem_init(void) | |||
1432 | { | 1428 | { |
1433 | create_proc_read_entry("fb", 0, NULL, fbmem_read_proc, NULL); | 1429 | create_proc_read_entry("fb", 0, NULL, fbmem_read_proc, NULL); |
1434 | 1430 | ||
1435 | devfs_mk_dir("fb"); | ||
1436 | if (register_chrdev(FB_MAJOR,"fb",&fb_fops)) | 1431 | if (register_chrdev(FB_MAJOR,"fb",&fb_fops)) |
1437 | printk("unable to get major %d for fb devs\n", FB_MAJOR); | 1432 | printk("unable to get major %d for fb devs\n", FB_MAJOR); |
1438 | 1433 | ||