diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 19:25:05 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 01:03:53 -0700 |
commit | 5ca1b998d33c39819fca2b675d80c4469e705f2d (patch) | |
tree | fbe882f3908b6b57ae3fe54d13abb0067538276d /net/xfrm | |
parent | 3b401a81c0d50ea9c718cf837f62cc2e6e79cc30 (diff) | |
download | linux-5ca1b998d33c39819fca2b675d80c4469e705f2d.tar.gz linux-5ca1b998d33c39819fca2b675d80c4469e705f2d.tar.bz2 linux-5ca1b998d33c39819fca2b675d80c4469e705f2d.zip |
net: file_operations should be const
All instances of file_operations should be const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_proc.c b/net/xfrm/xfrm_proc.c index a2adb51849a9..fef8db553e8d 100644 --- a/net/xfrm/xfrm_proc.c +++ b/net/xfrm/xfrm_proc.c @@ -60,7 +60,7 @@ static int xfrm_statistics_seq_open(struct inode *inode, struct file *file) return single_open_net(inode, file, xfrm_statistics_seq_show); } -static struct file_operations xfrm_statistics_seq_fops = { +static const struct file_operations xfrm_statistics_seq_fops = { .owner = THIS_MODULE, .open = xfrm_statistics_seq_open, .read = seq_read, |