crypto: nx - Constify static attribute_group structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Thu, 10 Feb 2022 20:28:05 +0000 (21:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Feb 2022 05:21:09 +0000 (16:21 +1100)
commitbd75b4ef4977f567c7a567cf8f48dc122a097aa9
tree2cbdc2ac089b523f80146366def66ced61357d24
parent83b5a23b6604028ef635a72465b23a85a425b695
crypto: nx - Constify static attribute_group structs

The only usage of these is to pass their address to
sysfs_{create,remove}_group(), which takes pointers to const struct
attribute_group. Make them const to allow the compiler to put them in
read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-common-pseries.c