zephyr/soc/riscv/openisa_rv32m1
Tomasz Bursztyka e18fcbba5a device: Const-ify all device driver instance pointers
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>
2020-09-02 13:48:13 +02:00
..
CMakeLists.txt extensions.cmake: Replace TEXT_START with ROM_START 2020-01-23 03:22:59 -08:00
Kconfig kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.defconfig arch: xip: cleanup XIP Kconfig 2020-08-07 09:50:22 -04:00
Kconfig.soc kconfig: Remove assignments to CONFIG_<arch> syms and hide them 2020-02-08 00:50:08 -06:00
linker.ld config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET 2020-07-09 14:02:38 -04:00
soc_context.h arch: riscv: thread: Init soc context on stack 2020-07-13 15:00:19 -05:00
soc_irq.S
soc_offsets.h soc: riscv: rv32m1: Fix optional context save 2020-07-13 15:00:19 -05:00
soc_ri5cy.h riscv: use standard MSTATUS 2020-01-06 13:27:45 -05:00
soc_zero_riscy.h riscv: use standard MSTATUS 2020-01-06 13:27:45 -05:00
soc.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
soc.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
vector_table.ld config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET 2020-07-09 14:02:38 -04:00
vector.S
wdog.S riscv: use standard MSTATUS 2020-01-06 13:27:45 -05:00