linux/drivers/tty/serial/8250
Josh Boyer f2b8dfd9e4 serial: 8250: Keep 8250.<xxxx> module options functional after driver rename
With commit 835d844d1 (8250_pnp: do pnp probe before legacy probe), the
8250 driver was renamed to 8250_core.  This means any existing usage of
the 8259.<xxxx> module parameters or as a kernel command line switch is
now broken, as the 8250_core driver doesn't parse options belonging to
something called "8250".

To solve this, we redefine the module options in a dummy function using
a redefined MODULE_PARAM_PREFX when built into the kernel.  In the case
where we're building as a module, we provide an alias to the old 8250
name.  The dummy function prevents compiler errors due to global variable
redefinitions that happen as part of the module_param_ macro expansions.

Signed-off-by: Josh Boyer <jwboyer@redhat.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-12 08:53:23 -07:00
..
8250.c serial: 8250: Keep 8250.<xxxx> module options functional after driver rename 2013-03-12 08:53:23 -07:00
8250.h Merge 3.8-rc5 into tty-next 2013-01-25 13:27:36 -08:00
8250_accent.c
8250_acorn.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_boca.c
8250_dma.c serial: 8250_dma: TX optimisation 2013-01-16 07:36:10 -08:00
8250_dw.c Merge 3.8-rc5 into tty-next 2013-01-25 13:27:36 -08:00
8250_early.c drivers/tty/serial/8250: use strlcpy instead of strcpy 2013-01-20 15:50:36 -08:00
8250_em.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_exar_st16c554.c
8250_fourport.c
8250_fsl.c
8250_gsc.c 8250: use the 8250 register interface not the legacy one 2012-07-12 14:46:22 -07:00
8250_hp300.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_hub6.c
8250_pci.c serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller 2013-03-12 08:53:23 -07:00
8250_pnp.c tty/8250_pnp: serial port detection regression since v3.7 2013-03-12 08:53:23 -07:00
Kconfig serial: ralink: adds support for the serial core found on ralink wisoc 2013-01-30 00:15:34 -05:00
Makefile serial: 8250: Add support for dmaengine 2013-01-15 23:03:00 -08:00
serial_cs.c 8250: use the 8250 register interface not the legacy one 2012-07-12 14:46:22 -07:00