tee: optee: add const to tee_driver_ops and tee_desc structures
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 29 Jun 2017 09:35:04 +0000 (15:05 +0530)
committerJens Wiklander <jens.wiklander@linaro.org>
Fri, 4 Aug 2017 08:30:27 +0000 (10:30 +0200)
commit96e72ddeec4546fda0e194298c2ee39e394a3ab7
tree10243ca537003ba82c90e6c014f37d68c7cdeeb7
parent53e3ca5cee24f5fafe4e9ff5fe4b230e1a1b85ed
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>
drivers/tee/optee/core.c