Skip to content
Commit 3ffcd754 authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Carles Cufí
Browse files

drivers: spi: set 'spi_driver_api' as 'static const'



This change marks each instance of the 'spi_driver_api' as 'static const'.
The rationale is that 'spi_driver_api' is used for declaring internal
module interfaces and is not intended to be modified at runtime.
By using 'static const', we ensure immutability, leading to usage of only
.rodata and a reduction in the .data area.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent 80e1482d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment