crypto: nx - constify vio_device_id
authorArvind Yadav <[email protected]>
Thu, 17 Aug 2017 13:14:10 +0000 (18:44 +0530)
committerHerbert Xu <[email protected]>
Fri, 22 Sep 2017 09:43:03 +0000 (17:43 +0800)
commit7fc342d2e672630fdda689a4d3d3b90745c70451
tree7db186a7770f1be59d1ff60f6273f31ca72bc9e4
parent560b1a82ee87288c18aca31ee3053272c3737fe5
crypto: nx - 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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/nx/nx.c