mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-16 18:53:05 +00:00
Now that device_api attribute is unmodified at runtime, as well as all the other attributes, it is possible to switch all device driver instance to be constant. A coccinelle rule is used for this: @r_const_dev_1 disable optional_qualifier @ @@ -struct device * +const struct device * @r_const_dev_2 disable optional_qualifier @ @@ -struct device * const +const struct device * Fixes #27399 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.esp32 | ||
Kconfig.imx | ||
Kconfig.litex | ||
Kconfig.mcux | ||
Kconfig.mcux_ftm | ||
Kconfig.mcux_tpm | ||
Kconfig.nrf5_sw | ||
Kconfig.nrfx | ||
Kconfig.pca9685 | ||
Kconfig.rv32m1_tpm | ||
Kconfig.sam | ||
Kconfig.sam0 | ||
Kconfig.sifive | ||
Kconfig.stm32 | ||
Kconfig.xec | ||
pwm_dw.c | ||
pwm_handlers.c | ||
pwm_imx.c | ||
pwm_led_esp32.c | ||
pwm_litex.c | ||
pwm_mchp_xec.c | ||
pwm_mcux_ftm.c | ||
pwm_mcux_tpm.c | ||
pwm_mcux.c | ||
pwm_nrf5_sw.c | ||
pwm_nrfx.c | ||
pwm_pca9685.c | ||
pwm_pca9685.h | ||
pwm_rv32m1_tpm.c | ||
pwm_sam.c | ||
pwm_sam0_tcc.c | ||
pwm_shell.c | ||
pwm_sifive.c | ||
pwm_stm32.c |