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/cdrom/viocd.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/cdrom/viocd.c')
-rw-r--r-- | drivers/cdrom/viocd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c index af6b3bfd169b..54ca931e19ea 100644 --- a/drivers/cdrom/viocd.c +++ b/drivers/cdrom/viocd.c | |||
@@ -49,7 +49,6 @@ | |||
49 | #include <asm/iseries/vio.h> | 49 | #include <asm/iseries/vio.h> |
50 | 50 | ||
51 | #define VIOCD_DEVICE "iseries/vcd" | 51 | #define VIOCD_DEVICE "iseries/vcd" |
52 | #define VIOCD_DEVICE_DEVFS "iseries/vcd" | ||
53 | 52 | ||
54 | #define VIOCD_VERS "1.06" | 53 | #define VIOCD_VERS "1.06" |
55 | 54 | ||
@@ -688,8 +687,6 @@ static int viocd_probe(struct vio_dev *vdev, const struct vio_device_id *id) | |||
688 | gendisk->first_minor = deviceno; | 687 | gendisk->first_minor = deviceno; |
689 | strncpy(gendisk->disk_name, c->name, | 688 | strncpy(gendisk->disk_name, c->name, |
690 | sizeof(gendisk->disk_name)); | 689 | sizeof(gendisk->disk_name)); |
691 | snprintf(gendisk->devfs_name, sizeof(gendisk->devfs_name), | ||
692 | VIOCD_DEVICE_DEVFS "%d", deviceno); | ||
693 | blk_queue_max_hw_segments(q, 1); | 690 | blk_queue_max_hw_segments(q, 1); |
694 | blk_queue_max_phys_segments(q, 1); | 691 | blk_queue_max_phys_segments(q, 1); |
695 | blk_queue_max_sectors(q, 4096 / 512); | 692 | blk_queue_max_sectors(q, 4096 / 512); |