]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "serial-uartlite: Constify uartlite_be/uartlite_le"
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 11 Apr 2016 14:53:31 +0000 (20:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Apr 2016 06:15:38 +0000 (15:15 +0900)
commit7c9abe3b056d95ff9906bc4ec198bc7ff52c2116
tree28ce348eafc47e1f79689d9ccbef725bacae8703
parent0b2ae9cd6e504d0f6c406655ebb9589e70455aa9
Revert "serial-uartlite: Constify uartlite_be/uartlite_le"

This reverts commit 68eb13200201f893ae5dc49f80e243b71e59082b.

The commit introduced two build warnings:
drivers/tty/serial/uartlite.c: In function ‘ulite_request_port’:
drivers/tty/serial/uartlite.c:348:21: warning: assignment discards
‘const’ qualifier from pointer target type
  port->private_data = &uartlite_be;
                     ^
drivers/tty/serial/uartlite.c:354:22: warning: assignment discards
‘const’ qualifier from pointer target type
   port->private_data = &uartlite_le;
                      ^

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Cc: Maarten Brock <m.brock@vanmierlo.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c