lkml.org 
[lkml]   [2021]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 13/13] tty: clean include/linux/tty.h up
    On Thu, Apr 08, 2021 at 02:51:34PM +0200, Greg Kroah-Hartman wrote:
    > There are a lot of tty-core-only functions that are listed in
    > include/linux/tty.h. Move them to drivers/tty/tty.h so that no one else
    > can accidentally call them or think that they are public functions.
    >
    > Cc: Jiri Slaby <jirislaby@kernel.org>
    > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    > ---
    > drivers/tty/n_gsm.c | 1 +
    > drivers/tty/n_hdlc.c | 1 +
    > drivers/tty/tty.h | 37 +++++++++++++++++++++++++++++++++++++
    > include/linux/tty.h | 34 ----------------------------------
    > 4 files changed, 39 insertions(+), 34 deletions(-)

    This needs a "tty.h" inclusion into drivers/tty/tty_baudrate.c,
    otherwise it's a build warning, I missed that, sorry. Will add that to
    the next revision if it's needed, or just fix it up when committing it.

    thanks,

    greg k-h

    \
     
     \ /
      Last update: 2021-04-08 19:52    [W:3.846 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site