serial: core: constify struct uart_port {name} field
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 Mar 2017 18:35:17 +0000 (21:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 16:51:57 +0000 (18:51 +0200)
commit2e94d5ae5da1d2e798045a53b5e234a42b090908
tree3b59a3d0b815795c8281d63263dbe446eac396a2
parent6fe729c4bdae41b4c5a5ff21312f021a48c69399
serial: core: constify struct uart_port {name} field

Don't allow modifications of port name. It's serial core's business only.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/serial_core.h