• Al Viro's avatar
    termios: get rid of non-UAPI asm/termios.h · 89bbeb7e
    Al Viro authored
    	All non-UAPI asm/termios.h consist of include of UAPI counterpart
    and, possibly, include of linux/uaccess.h
    
    	The latter can't be simply removed, even though nothing in
    linux/termios.h doesn't depend upon it anymore - there are several
    places that rely upon that indirect chain of includes to pull
    linux/uaccess.h.  So the include needs to be lifted out of there -
    we lift into tty_driver.h, serdev.h and places that pull asm/termios.h,
    but none of
    	* linux/uaccess.h (obvious)
    	* net/sock.h (pulls uaccess.h)
    	* linux/{tty,tty_driver,serdev}.h (tty.h pulls tty_driver.h)
    
    That leaves us just with the include of UAPI asm/termios.h, which is
    what <asm/termios.h> will resolve to if we simply remove non-UAPI header.
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    Link: https://lore.kernel.org/r/YxDnKvYCHn/ogBUv@ZenIVSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    89bbeb7e
wwan_core.c 28 KB