]> 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)
commitaacb32282073668720edb73bef00d54f92500ad6
tree6fda313382ec3071bf1e67af0c2359d22c4bdb6f
parenta03fe6add0d82ed95d8c5e7a15061b91918bb6b7
TTY: 8250, revert module name change

In 3.7 the 8250 module name was changed unintentionally from 8250 to
8250_core by commit 740ee1d137309c239b38e04a739a26055238da2e
(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 8d9f7fb0b9c7ef4e2efbcd0cc75894f88ddb8dda
(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