]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: nx-842 - constify vio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 17 Aug 2017 13:14:11 +0000 (18:44 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Sep 2017 09:43:04 +0000 (17:43 +0800)
commitcc2687b2d363b9b66de83ca8f528b9dc08075c54
tree0cb7497557ab8fe7f8de26f72ac946143c54e497
parent2366f30f57b721a154bcca2b38f04483e3c225b5
crypto: nx-842 - constify vio_device_id

vio_device_id are not supposed to change at runtime. All functions
working with vio_device_id provided by <asm/vio.h> work with
const vio_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-842-pseries.c