]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: 8250, revert module name change
authorJiri Slaby <jslaby@suse.cz>
Tue, 19 Mar 2013 10:34:56 +0000 (11:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 23:26:23 +0000 (16:26 -0700)
commit914d271101f938bbacc7a6658bda922f98baf697
tree6fda313382ec3071bf1e67af0c2359d22c4bdb6f
parent97ac826fa9fbb93c83831491a9ec0fd6e1bb5cd6
TTY: 8250, revert module name change

In 3.7 the 8250 module name was changed unintentionally from 8250 to
8250_core by commit 9605b2df6fb29fc8264a448c4aee1bb1f525a168
(8250_pnp: do pnp probe before legacy probe). We then had to
re-introduce the old module options to ensure the old good
8250.nr_uart & co. still work. This can be done only by a very dirty
hack and we did it in d51cfb79d2ab776e25015edaa30b550c861c9dc3
(serial: 8250: Keep 8250.<xxxx> module options functional after driver
rename).

That is so damn ugly so that I decided to revert to the old module
name and deprecate the new 8250_core options present in 3.7 and 3.8
only. The deprecation will happen in the following patch.

Note that this patch changes the hack above to support "8250_core.*",
because we now have "8250.*" natively.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250.c [deleted file]
drivers/tty/serial/8250/8250_core.c [new file with mode: 0644]
drivers/tty/serial/8250/Makefile