aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dcssblk.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/block/dcssblk.c')
-rw-r--r--drivers/s390/block/dcssblk.c5
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 = {
50struct dcssblk_dev_info { 51struct 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
66struct segment_info { 67struct 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;