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)
commit9220ebffda4aa23fe683c9ca6c94fb72d7c131c2
tree28ce348eafc47e1f79689d9ccbef725bacae8703
parentc3b46c73264b03000d1e18b22f5caf63332547c9
Revert "serial-uartlite: Constify uartlite_be/uartlite_le"

This reverts commit 2905697a82eaf20606ced164d853b52d1b94aaa8.

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