summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/n2_core.c
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-10-14 21:15:13 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-10-15 21:05:20 +0800
commit50826874f059af9a7f1ed748528f68ea92d5039c (patch)
treed4028f5c884a39953aca971564ae08b08b20d781 /drivers/crypto/n2_core.c
parentcac367bfc134174506a57a44834e3a608acc2f9b (diff)
downloadtalos-op-linux-50826874f059af9a7f1ed748528f68ea92d5039c.tar.gz
talos-op-linux-50826874f059af9a7f1ed748528f68ea92d5039c.zip
crypto: n2 - set array of const as const
Some array of const char are not set as const. This patch fix that. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/n2_core.c')
-rw-r--r--drivers/crypto/n2_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c
index 2e8dab9d4263..5450880abb7b 100644
--- a/drivers/crypto/n2_core.c
+++ b/drivers/crypto/n2_core.c
@@ -34,7 +34,7 @@
#define DRV_MODULE_VERSION "0.2"
#define DRV_MODULE_RELDATE "July 28, 2011"
-static char version[] =
+static const char version[] =
DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
MODULE_AUTHOR("David S. Miller (davem@davemloft.net)");
OpenPOWER on IntegriCloud