zephyr/drivers/console
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 cmake: remove _if_kconfig() functions 2020-08-01 12:35:20 +02:00
gsm_mux.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
gsm_mux.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ipm_console_receiver.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ipm_console_sender.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
Kconfig console: usb: Remove obsolete Kconfig option. 2020-08-13 11:49:47 +02:00
Kconfig.gsm_mux drivers: gsm_mux: Support GSM 07.10 muxing protocol 2020-04-17 10:15:54 +03:00
native_posix_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ram_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
rtt_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
semihost_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_mcumgr.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_mux.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_mux_internal.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
uart_pipe.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
xtensa_sim_console.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00