[PATCH 2/4] net: ti: icss-iep: constify struct regmap_config

Roger Quadros rogerq at kernel.org
Thu Jul 4 07:42:56 PDT 2024



On 04/07/2024 00:46, Javier Carrasco wrote:
> `am654_icss_iep_regmap_config` is only assigned to a pointer that passes
> the data as read-only.
> 
> Add the const modifier to the struct and pointer to move the data to a
> read-only section.
> 
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz at gmail.com>

Reviewed-by: Roger Quadros <rogerq at kernel.org>



More information about the linux-arm-kernel mailing list