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/cdrom/viocd.c | |
parent | 9dce0e950dbfab4148f35ac6f297d8638cdc63c4 (diff) | |
parent | bf7e8511088963078484132636839b59e25cf14f (diff) |
merge linus into release branch
Conflicts:
drivers/acpi/acpi_memhotplug.c
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); |