Searched hist:"96 e72dde" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tee/optee/ |
H A D | core.c | 96e72dde Thu Jun 29 04:35:04 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> tee: optee: add const to tee_driver_ops and tee_desc structures
Add const to tee_desc structures as they are only passed as an argument to the function tee_device_alloc. This argument is of type const, so declare these structures as const too. Add const to tee_driver_ops structures as they are only stored in the ops field of a tee_desc structure. This field is of type const, so declare these structure types as const.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> 96e72dde Thu Jun 29 04:35:04 CDT 2017 Bhumika Goyal <bhumirks@gmail.com> tee: optee: add const to tee_driver_ops and tee_desc structures Add const to tee_desc structures as they are only passed as an argument to the function tee_device_alloc. This argument is of type const, so declare these structures as const too. Add const to tee_driver_ops structures as they are only stored in the ops field of a tee_desc structure. This field is of type const, so declare these structure types as const. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|