Searched hist:c2a9c4bf034ab7415ec272c4c86f1c0b796f80e6 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/char/tpm/ |
H A D | tpm_ibmvtpm.c | diff c2a9c4bf034ab7415ec272c4c86f1c0b796f80e6 Thu Aug 17 19:34:21 CEST 2017 Arvind Yadav <arvind.yadav.cs@gmail.com> 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>
|