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)
commitf096ced9e9d8cabdf9c61b5eef7188775c1daf05
tree0cb7497557ab8fe7f8de26f72ac946143c54e497
parent7fc342d2e672630fdda689a4d3d3b90745c70451
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