This change marks each instance of the 'rtc_driver_api' as 'static const'. The rationale is that 'rtc_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: Pisit Sawangvonganan <pisit@ndrsolution.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.am1805 | ||
| Kconfig.ds1307 | ||
| Kconfig.emul | ||
| Kconfig.fake | ||
| Kconfig.mc146818 | ||
| Kconfig.pcf8523 | ||
| Kconfig.pcf8563 | ||
| Kconfig.sam | ||
| Kconfig.smartbond | ||
| Kconfig.stm32 | ||
| rtc_am1805.c | ||
| rtc_ds1307.c | ||
| rtc_emul.c | ||
| rtc_fake.c | ||
| rtc_handlers.c | ||
| rtc_ll_stm32.c | ||
| rtc_mc146818.c | ||
| rtc_pcf8523.c | ||
| rtc_pcf8563.c | ||
| rtc_sam.c | ||
| rtc_shell.c | ||
| rtc_smartbond.c | ||