Re: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures

2017-07-04 Thread Jens Wiklander
On Thu, Jun 29, 2017 at 03:05:04PM +0530, Bhumika Goyal wrote: > 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 a

[PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures

2017-06-29 Thread Bhumika Goyal
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