tty: constify tty_ldisc_receive_buf buffer pointer
authorRob Herring <robh@kernel.org>
Mon, 16 Jan 2017 22:54:31 +0000 (16:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 16:22:34 +0000 (17:22 +0100)
commitc92d781f1a5ea19708b1e1e2b85a3fbd4a738b30
tree958e262d1e71927ef62679dc48cf01c07698d075
parent3086365db61ec00d206afa2dbaec4b3d771a38f1
tty: constify tty_ldisc_receive_buf buffer pointer

This is needed to work with the client operations which uses const ptrs.

Really, the flags pointer could be const, too, but this would be a tree
wide fix.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_buffer.c
include/linux/tty.h