aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/ccio-dma.c4
-rw-r--r--drivers/parisc/eisa_eeprom.c2
-rw-r--r--drivers/parisc/sba_iommu.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c
index fe3f5f5365c5..894fdb9d44c0 100644
--- a/drivers/parisc/ccio-dma.c
+++ b/drivers/parisc/ccio-dma.c
@@ -1091,7 +1091,7 @@ static int ccio_proc_info_open(struct inode *inode, struct file *file)
1091 return single_open(file, &ccio_proc_info, NULL); 1091 return single_open(file, &ccio_proc_info, NULL);
1092} 1092}
1093 1093
1094static struct file_operations ccio_proc_info_fops = { 1094static const struct file_operations ccio_proc_info_fops = {
1095 .owner = THIS_MODULE, 1095 .owner = THIS_MODULE,
1096 .open = ccio_proc_info_open, 1096 .open = ccio_proc_info_open,
1097 .read = seq_read, 1097 .read = seq_read,
@@ -1127,7 +1127,7 @@ static int ccio_proc_bitmap_open(struct inode *inode, struct file *file)
1127 return single_open(file, &ccio_proc_bitmap_info, NULL); 1127 return single_open(file, &ccio_proc_bitmap_info, NULL);
1128} 1128}
1129 1129
1130static struct file_operations ccio_proc_bitmap_fops = { 1130static const struct file_operations ccio_proc_bitmap_fops = {
1131 .owner = THIS_MODULE, 1131 .owner = THIS_MODULE,
1132 .open = ccio_proc_bitmap_open, 1132 .open = ccio_proc_bitmap_open,
1133 .read = seq_read, 1133 .read = seq_read,
diff --git a/drivers/parisc/eisa_eeprom.c b/drivers/parisc/eisa_eeprom.c
index e13aafa70bf5..86e9c84a965e 100644
--- a/drivers/parisc/eisa_eeprom.c
+++ b/drivers/parisc/eisa_eeprom.c
@@ -97,7 +97,7 @@ static int eisa_eeprom_release(struct inode *inode, struct file *file)
97/* 97/*
98 * The various file operations we support. 98 * The various file operations we support.
99 */ 99 */
100static struct file_operations eisa_eeprom_fops = { 100static const struct file_operations eisa_eeprom_fops = {
101 .owner = THIS_MODULE, 101 .owner = THIS_MODULE,
102 .llseek = eisa_eeprom_llseek, 102 .llseek = eisa_eeprom_llseek,
103 .read = eisa_eeprom_read, 103 .read = eisa_eeprom_read,
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index f1e7ccd5475b..76a29dadd519 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -1799,7 +1799,7 @@ sba_proc_open(struct inode *i, struct file *f)
1799 return single_open(f, &sba_proc_info, NULL); 1799 return single_open(f, &sba_proc_info, NULL);
1800} 1800}
1801 1801
1802static struct file_operations sba_proc_fops = { 1802static const struct file_operations sba_proc_fops = {
1803 .owner = THIS_MODULE, 1803 .owner = THIS_MODULE,
1804 .open = sba_proc_open, 1804 .open = sba_proc_open,
1805 .read = seq_read, 1805 .read = seq_read,
@@ -1831,7 +1831,7 @@ sba_proc_bitmap_open(struct inode *i, struct file *f)
1831 return single_open(f, &sba_proc_bitmap_info, NULL); 1831 return single_open(f, &sba_proc_bitmap_info, NULL);
1832} 1832}
1833 1833
1834static struct file_operations sba_proc_bitmap_fops = { 1834static const struct file_operations sba_proc_bitmap_fops = {
1835 .owner = THIS_MODULE, 1835 .owner = THIS_MODULE,
1836 .open = sba_proc_bitmap_open, 1836 .open = sba_proc_bitmap_open,
1837 .read = seq_read, 1837 .read = seq_read,