diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/cciss.c | 2 | ||||
-rw-r--r-- | drivers/block/pktcdvd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 0589dfbbd7db..d8372b432826 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -572,7 +572,7 @@ static struct attribute_group cciss_dev_attr_group = { | |||
572 | .attrs = cciss_dev_attrs, | 572 | .attrs = cciss_dev_attrs, |
573 | }; | 573 | }; |
574 | 574 | ||
575 | static struct attribute_group *cciss_dev_attr_groups[] = { | 575 | static const struct attribute_group *cciss_dev_attr_groups[] = { |
576 | &cciss_dev_attr_group, | 576 | &cciss_dev_attr_group, |
577 | NULL | 577 | NULL |
578 | }; | 578 | }; |
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 99a506f619b7..95f11cdef203 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -92,7 +92,7 @@ static struct mutex ctl_mutex; /* Serialize open/close/setup/teardown */ | |||
92 | static mempool_t *psd_pool; | 92 | static mempool_t *psd_pool; |
93 | 93 | ||
94 | static struct class *class_pktcdvd = NULL; /* /sys/class/pktcdvd */ | 94 | static struct class *class_pktcdvd = NULL; /* /sys/class/pktcdvd */ |
95 | static struct dentry *pkt_debugfs_root = NULL; /* /debug/pktcdvd */ | 95 | static struct dentry *pkt_debugfs_root = NULL; /* /sys/kernel/debug/pktcdvd */ |
96 | 96 | ||
97 | /* forward declaration */ | 97 | /* forward declaration */ |
98 | static int pkt_setup_dev(dev_t dev, dev_t* pkt_dev); | 98 | static int pkt_setup_dev(dev_t dev, dev_t* pkt_dev); |