diff options
author | Len Brown <len.brown@intel.com> | 2006-06-29 19:57:46 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-29 19:57:46 -0400 |
commit | d120cfb544ed6161b9d32fb6c4648c471807ee6b (patch) | |
tree | 7757ad0198d8df76ff5c60f939a687687c41da00 /drivers/sbus/char/bpp.c | |
parent | 9dce0e950dbfab4148f35ac6f297d8638cdc63c4 (diff) | |
parent | bf7e8511088963078484132636839b59e25cf14f (diff) |
merge linus into release branch
Conflicts:
drivers/acpi/acpi_memhotplug.c
Diffstat (limited to 'drivers/sbus/char/bpp.c')
-rw-r--r-- | drivers/sbus/char/bpp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c index ccb20a6f5f36..385f4f768311 100644 --- a/drivers/sbus/char/bpp.c +++ b/drivers/sbus/char/bpp.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #include <linux/timer.h> | 20 | #include <linux/timer.h> |
21 | #include <linux/ioport.h> | 21 | #include <linux/ioport.h> |
22 | #include <linux/major.h> | 22 | #include <linux/major.h> |
23 | #include <linux/devfs_fs_kernel.h> | ||
24 | 23 | ||
25 | #include <asm/uaccess.h> | 24 | #include <asm/uaccess.h> |
26 | #include <asm/io.h> | 25 | #include <asm/io.h> |
@@ -1031,11 +1030,6 @@ static int __init bpp_init(void) | |||
1031 | instances[idx].opened = 0; | 1030 | instances[idx].opened = 0; |
1032 | probeLptPort(idx); | 1031 | probeLptPort(idx); |
1033 | } | 1032 | } |
1034 | devfs_mk_dir("bpp"); | ||
1035 | for (idx = 0; idx < BPP_NO; idx++) { | ||
1036 | devfs_mk_cdev(MKDEV(BPP_MAJOR, idx), | ||
1037 | S_IFCHR | S_IRUSR | S_IWUSR, "bpp/%d", idx); | ||
1038 | } | ||
1039 | 1033 | ||
1040 | return 0; | 1034 | return 0; |
1041 | } | 1035 | } |
@@ -1044,9 +1038,6 @@ static void __exit bpp_cleanup(void) | |||
1044 | { | 1038 | { |
1045 | unsigned idx; | 1039 | unsigned idx; |
1046 | 1040 | ||
1047 | for (idx = 0; idx < BPP_NO; idx++) | ||
1048 | devfs_remove("bpp/%d", idx); | ||
1049 | devfs_remove("bpp"); | ||
1050 | unregister_chrdev(BPP_MAJOR, dev_name); | 1041 | unregister_chrdev(BPP_MAJOR, dev_name); |
1051 | 1042 | ||
1052 | for (idx = 0; idx < BPP_NO; idx++) { | 1043 | for (idx = 0; idx < BPP_NO; idx++) { |