tpm: vtpm: constify vio_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 17 Aug 2017 17:34:21 +0000 (23:04 +0530)
committerJames Morris <james.l.morris@oracle.com>
Sun, 24 Sep 2017 04:48:56 +0000 (21:48 -0700)
commitc2a9c4bf034ab7415ec272c4c86f1c0b796f80e6
treede3799c2544f514818113f53132a21b8c47e5d55
parent53a2ebaaabc1eb8458796fec3bc1e0e80746b642
tpm: vtpm: 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>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm_ibmvtpm.c