]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: deprecate linux/generic_serial.h
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:53:47 +0000 (13:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:14:50 +0000 (11:14 -0700)
commitde788c209683c28c0b4bf350b75da39187bfd6fb
tree571a2b626dd3761e7bf91a5b3f287352c1a2192b
parentc45663134bfd7815637ea16e8b70cc211879034a
TTY: deprecate linux/generic_serial.h

Since nobody in the kernel includes that file, let us remove the
structs visible to the kernel.

However since the userspace sees the file, it still may include that.
hence deprecate the use of the header by an added cpp #warning.

We should remove the file completely after a couple of years.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/generic_serial.h