From 861078d0afcb65d7a03780d9a5603dae5fec82b9 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 7 Aug 2010 03:18:37 +0200 Subject: Make cryptodev_fops const. Suggested by scripts/checkpatch.pl. --- cryptodev_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cryptodev_main.c') 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, -- cgit From 09966a1c51fe61490c7b5932db1e7ad5c299ca2f Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 7 Aug 2010 03:22:13 +0200 Subject: Use instead of Suggested by scripts/checkpatch.pl. --- cryptodev_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cryptodev_main.c') diff --git a/cryptodev_main.c b/cryptodev_main.c index a303bbb..62a3f1b 100644 --- a/cryptodev_main.c +++ b/cryptodev_main.c @@ -34,12 +34,12 @@ #include #include #include +#include #include #include #include #include "cryptodev.h" #include -#include #include #include "cryptodev_int.h" #include "ncr-int.h" -- cgit From cb519ef9fc39d3ccb1272ec7685524443490ca54 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 7 Aug 2010 03:25:00 +0200 Subject: Use instead of Suggested by scripts/checkpatch.pl. --- cryptodev_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cryptodev_main.c') diff --git a/cryptodev_main.c b/cryptodev_main.c index 62a3f1b..a056b44 100644 --- a/cryptodev_main.c +++ b/cryptodev_main.c @@ -38,8 +38,8 @@ #include #include #include +#include #include "cryptodev.h" -#include #include #include "cryptodev_int.h" #include "ncr-int.h" -- cgit