diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 15:25:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 04:03:53 -0400 |
commit | 5ca1b998d33c39819fca2b675d80c4469e705f2d (patch) | |
tree | fbe882f3908b6b57ae3fe54d13abb0067538276d /net/irda/irnet | |
parent | 3b401a81c0d50ea9c718cf837f62cc2e6e79cc30 (diff) |
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/irda/irnet')
-rw-r--r-- | net/irda/irnet/irnet_ppp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/irda/irnet/irnet_ppp.h b/net/irda/irnet/irnet_ppp.h index d9f8bd4ebd05..b5df2418f90c 100644 --- a/net/irda/irnet/irnet_ppp.h +++ b/net/irda/irnet/irnet_ppp.h | |||
@@ -95,7 +95,7 @@ static int | |||
95 | /**************************** VARIABLES ****************************/ | 95 | /**************************** VARIABLES ****************************/ |
96 | 96 | ||
97 | /* Filesystem callbacks (to call us) */ | 97 | /* Filesystem callbacks (to call us) */ |
98 | static struct file_operations irnet_device_fops = | 98 | static const struct file_operations irnet_device_fops = |
99 | { | 99 | { |
100 | .owner = THIS_MODULE, | 100 | .owner = THIS_MODULE, |
101 | .read = dev_irnet_read, | 101 | .read = dev_irnet_read, |