zephyr/drivers/sdhc
Pisit Sawangvonganan e7875de3f9 drivers: sdhc: set 'sdhc_driver_api' as 'static const'
This change marks each instance of the 'api' as 'static const'.
The rationale is that '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: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-01-24 21:25:06 +00:00
..
CMakeLists.txt
Kconfig
Kconfig.ifx_cat1
Kconfig.imx
Kconfig.intel
Kconfig.mcux_sdif
Kconfig.sam_hsmci
Kconfig.sdhc_cdns
Kconfig.spi
ifx_cat1_sdio.c
imx_usdhc.c
intel_emmc_host.c
intel_emmc_host.h
mcux_sdif.c
sam_hsmci.c
sdhc_cdns.c
sdhc_cdns_ll.c
sdhc_cdns_ll.h
sdhc_spi.c drivers: sdhc: set 'sdhc_driver_api' as 'static const' 2024-01-24 21:25:06 +00:00