diff options
author | Stefan Agner <stefan@agner.ch> | 2018-11-14 16:37:12 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2019-04-25 18:06:51 +0200 |
commit | e05014f9d978d59df15a6650d4647ef782440e79 (patch) | |
tree | 947512df60521eb1e94dd99f068555daffe78afa /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | fb14ce61580273278f446570cc2ebfadb9a2e835 (diff) |
serial: imx: avoid crash when un/re-binding serial console device
If the device used as a serial console gets un/re-binded, then
register_console() will call imx_uart_setup_console() again.
Drop __init so that imx_uart_setup_console() can be safely called
at runtime.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions