Переглянути джерело

[CRYPTO] api: Constify function pointer tables

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Jan Engelhardt 17 роки тому
батько
коміт
48c8949ea8
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      crypto/proc.c

+ 1 - 1
crypto/proc.c

@@ -78,7 +78,7 @@ static int c_show(struct seq_file *m, void *p)
 	return 0;
 }
 
-static struct seq_operations crypto_seq_ops = {
+static const struct seq_operations crypto_seq_ops = {
 	.start		= c_start,
 	.next		= c_next,
 	.stop		= c_stop,