Re: [PATCH] tee: optee: add const to tee_driver_ops and tee_desc structures
From: Jens Wiklander
Date: Wed Jul 05 2017 - 02:59:26 EST
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 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@xxxxxxxxx>
Looks good to me, queueing this.