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/block/acsi_slm.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/block/acsi_slm.c')
-rw-r--r-- | drivers/block/acsi_slm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/acsi_slm.c b/drivers/block/acsi_slm.c index 4cb9c1336287..4030a8fd1187 100644 --- a/drivers/block/acsi_slm.c +++ b/drivers/block/acsi_slm.c | |||
@@ -65,7 +65,6 @@ not be guaranteed. There are several ways to assure this: | |||
65 | #include <linux/time.h> | 65 | #include <linux/time.h> |
66 | #include <linux/mm.h> | 66 | #include <linux/mm.h> |
67 | #include <linux/slab.h> | 67 | #include <linux/slab.h> |
68 | #include <linux/devfs_fs_kernel.h> | ||
69 | #include <linux/smp_lock.h> | 68 | #include <linux/smp_lock.h> |
70 | 69 | ||
71 | #include <asm/pgtable.h> | 70 | #include <asm/pgtable.h> |
@@ -1005,11 +1004,6 @@ int slm_init( void ) | |||
1005 | BufferP = SLMBuffer; | 1004 | BufferP = SLMBuffer; |
1006 | SLMState = IDLE; | 1005 | SLMState = IDLE; |
1007 | 1006 | ||
1008 | devfs_mk_dir("slm"); | ||
1009 | for (i = 0; i < MAX_SLM; i++) { | ||
1010 | devfs_mk_cdev(MKDEV(ACSI_MAJOR, i), | ||
1011 | S_IFCHR|S_IRUSR|S_IWUSR, "slm/%d", i); | ||
1012 | } | ||
1013 | return 0; | 1007 | return 0; |
1014 | } | 1008 | } |
1015 | 1009 | ||
@@ -1032,10 +1026,6 @@ int init_module(void) | |||
1032 | 1026 | ||
1033 | void cleanup_module(void) | 1027 | void cleanup_module(void) |
1034 | { | 1028 | { |
1035 | int i; | ||
1036 | for (i = 0; i < MAX_SLM; i++) | ||
1037 | devfs_remove("slm/%d", i); | ||
1038 | devfs_remove("slm"); | ||
1039 | if (unregister_chrdev( ACSI_MAJOR, "slm" ) != 0) | 1029 | if (unregister_chrdev( ACSI_MAJOR, "slm" ) != 0) |
1040 | printk( KERN_ERR "acsi_slm: cleanup_module failed\n"); | 1030 | printk( KERN_ERR "acsi_slm: cleanup_module failed\n"); |
1041 | atari_stram_free( SLMBuffer ); | 1031 | atari_stram_free( SLMBuffer ); |