diff options
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_fs.c')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_fs.c b/drivers/infiniband/ulp/ipoib/ipoib_fs.c index f1cb83688b31..44c174182a82 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_fs.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_fs.c | |||
@@ -146,7 +146,7 @@ static int ipoib_mcg_open(struct inode *inode, struct file *file) | |||
146 | return 0; | 146 | return 0; |
147 | } | 147 | } |
148 | 148 | ||
149 | static struct file_operations ipoib_mcg_fops = { | 149 | static const struct file_operations ipoib_mcg_fops = { |
150 | .owner = THIS_MODULE, | 150 | .owner = THIS_MODULE, |
151 | .open = ipoib_mcg_open, | 151 | .open = ipoib_mcg_open, |
152 | .read = seq_read, | 152 | .read = seq_read, |
@@ -252,7 +252,7 @@ static int ipoib_path_open(struct inode *inode, struct file *file) | |||
252 | return 0; | 252 | return 0; |
253 | } | 253 | } |
254 | 254 | ||
255 | static struct file_operations ipoib_path_fops = { | 255 | static const struct file_operations ipoib_path_fops = { |
256 | .owner = THIS_MODULE, | 256 | .owner = THIS_MODULE, |
257 | .open = ipoib_path_open, | 257 | .open = ipoib_path_open, |
258 | .read = seq_read, | 258 | .read = seq_read, |