diff options
Diffstat (limited to 'drivers/block/paride')
-rw-r--r-- | drivers/block/paride/pcd.c | 2 | ||||
-rw-r--r-- | drivers/block/paride/pd.c | 2 | ||||
-rw-r--r-- | drivers/block/paride/pf.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c index 9f3518c515a1..8866ca369d5e 100644 --- a/drivers/block/paride/pcd.c +++ b/drivers/block/paride/pcd.c | |||
@@ -247,7 +247,7 @@ static int pcd_block_media_changed(struct gendisk *disk) | |||
247 | return cdrom_media_changed(&cd->info); | 247 | return cdrom_media_changed(&cd->info); |
248 | } | 248 | } |
249 | 249 | ||
250 | static struct block_device_operations pcd_bdops = { | 250 | static const struct block_device_operations pcd_bdops = { |
251 | .owner = THIS_MODULE, | 251 | .owner = THIS_MODULE, |
252 | .open = pcd_block_open, | 252 | .open = pcd_block_open, |
253 | .release = pcd_block_release, | 253 | .release = pcd_block_release, |
diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c index bf5955b3d873..569e39e8f114 100644 --- a/drivers/block/paride/pd.c +++ b/drivers/block/paride/pd.c | |||
@@ -807,7 +807,7 @@ static int pd_revalidate(struct gendisk *p) | |||
807 | return 0; | 807 | return 0; |
808 | } | 808 | } |
809 | 809 | ||
810 | static struct block_device_operations pd_fops = { | 810 | static const struct block_device_operations pd_fops = { |
811 | .owner = THIS_MODULE, | 811 | .owner = THIS_MODULE, |
812 | .open = pd_open, | 812 | .open = pd_open, |
813 | .release = pd_release, | 813 | .release = pd_release, |
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c index 68a90834e993..ea54ea393553 100644 --- a/drivers/block/paride/pf.c +++ b/drivers/block/paride/pf.c | |||
@@ -262,7 +262,7 @@ static char *pf_buf; /* buffer for request in progress */ | |||
262 | 262 | ||
263 | /* kernel glue structures */ | 263 | /* kernel glue structures */ |
264 | 264 | ||
265 | static struct block_device_operations pf_fops = { | 265 | static const struct block_device_operations pf_fops = { |
266 | .owner = THIS_MODULE, | 266 | .owner = THIS_MODULE, |
267 | .open = pf_open, | 267 | .open = pf_open, |
268 | .release = pf_release, | 268 | .release = pf_release, |