]> git.baikalelectronics.ru Git - kernel.git/commit
serial: core: Make uart_parse_options take const char* argument
authorPaul Cercueil <paul@crapouillou.net>
Thu, 28 Dec 2017 13:07:07 +0000 (14:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 15:46:26 +0000 (16:46 +0100)
commit0f646b63a1b2ede7885e45cf6e986128e001f91b
tree9f865b1743aeffb8148473f24515633838b27577
parentb9820a31691b771db37afe2054dd3d3a680c1eed
serial: core: Make uart_parse_options take const char* argument

The pointed string is never modified from within uart_parse_options, so
it should be marked as const in the function prototype.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c
include/linux/serial_core.h