summaryrefslogtreecommitdiffstats
path: root/cryptodev_main.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-07 03:18:37 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-07 03:18:37 +0200
commit861078d0afcb65d7a03780d9a5603dae5fec82b9 (patch)
tree025ceae3b287eeb62d101d642113f4f66841f8a6 /cryptodev_main.c
parentc7915b5bd657e7e86caed1fe34e4fa2278769285 (diff)
downloadcryptodev-linux-861078d0afcb65d7a03780d9a5603dae5fec82b9.tar.gz
cryptodev-linux-861078d0afcb65d7a03780d9a5603dae5fec82b9.tar.xz
cryptodev-linux-861078d0afcb65d7a03780d9a5603dae5fec82b9.zip
Make cryptodev_fops const.
Suggested by scripts/checkpatch.pl.
Diffstat (limited to 'cryptodev_main.c')
-rw-r--r--cryptodev_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c
index 3223acd..a303bbb 100644
--- a/cryptodev_main.c
+++ b/cryptodev_main.c
@@ -951,7 +951,7 @@ cryptodev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg_)
#endif /* CONFIG_COMPAT */
-static struct file_operations cryptodev_fops = {
+static const struct file_operations cryptodev_fops = {
.owner = THIS_MODULE,
.open = cryptodev_open,
.release = cryptodev_release,