diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-17 19:34:21 +0200 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-09-24 06:48:56 +0200 |
commit | c2a9c4bf034ab7415ec272c4c86f1c0b796f80e6 (patch) | |
tree | de3799c2544f514818113f53132a21b8c47e5d55 /drivers/char/tpm/tpm_crb.c | |
parent | sync to Linus v4.13-rc2 for subsystem developers to work against (diff) | |
download | linux-c2a9c4bf034ab7415ec272c4c86f1c0b796f80e6.tar.xz linux-c2a9c4bf034ab7415ec272c4c86f1c0b796f80e6.zip |
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>
Diffstat (limited to 'drivers/char/tpm/tpm_crb.c')
0 files changed, 0 insertions, 0 deletions