diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-12-25 07:38:55 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 07:39:03 -0500 |
commit | 98df67b324a2a986987ce29986e44ae9156b6698 (patch) | |
tree | 13cd3c37116c115761c54184cdd8e41e164a6c84 /drivers/s390/block/dcssblk.c | |
parent | 0cd4bd4754d51bdc8f9cd880c29910d0d52337bb (diff) |
[S390] struct device - replace bus_id with dev_name(), dev_set_name()
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dcssblk.c')
-rw-r--r-- | drivers/s390/block/dcssblk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/block/dcssblk.c b/drivers/s390/block/dcssblk.c index 63f26a135fe5..b1b204c448ed 100644 --- a/drivers/s390/block/dcssblk.c +++ b/drivers/s390/block/dcssblk.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #define DCSSBLK_NAME "dcssblk" | 21 | #define DCSSBLK_NAME "dcssblk" |
22 | #define DCSSBLK_MINORS_PER_DISK 1 | 22 | #define DCSSBLK_MINORS_PER_DISK 1 |
23 | #define DCSSBLK_PARM_LEN 400 | 23 | #define DCSSBLK_PARM_LEN 400 |
24 | #define DCSS_BUS_ID_SIZE 20 | ||
24 | 25 | ||
25 | #ifdef DCSSBLK_DEBUG | 26 | #ifdef DCSSBLK_DEBUG |
26 | #define PRINT_DEBUG(x...) printk(KERN_DEBUG DCSSBLK_NAME " debug: " x) | 27 | #define PRINT_DEBUG(x...) printk(KERN_DEBUG DCSSBLK_NAME " debug: " x) |
@@ -50,7 +51,7 @@ static struct block_device_operations dcssblk_devops = { | |||
50 | struct dcssblk_dev_info { | 51 | struct dcssblk_dev_info { |
51 | struct list_head lh; | 52 | struct list_head lh; |
52 | struct device dev; | 53 | struct device dev; |
53 | char segment_name[BUS_ID_SIZE]; | 54 | char segment_name[DCSS_BUS_ID_SIZE]; |
54 | atomic_t use_count; | 55 | atomic_t use_count; |
55 | struct gendisk *gd; | 56 | struct gendisk *gd; |
56 | unsigned long start; | 57 | unsigned long start; |
@@ -65,7 +66,7 @@ struct dcssblk_dev_info { | |||
65 | 66 | ||
66 | struct segment_info { | 67 | struct segment_info { |
67 | struct list_head lh; | 68 | struct list_head lh; |
68 | char segment_name[BUS_ID_SIZE]; | 69 | char segment_name[DCSS_BUS_ID_SIZE]; |
69 | unsigned long start; | 70 | unsigned long start; |
70 | unsigned long end; | 71 | unsigned long end; |
71 | int segment_type; | 72 | int segment_type; |