aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2013-03-10 10:33:40 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-20 13:10:53 -0700
commitafe509cd07fb6af0356b7c49a96fc4bb1dbf5210 (patch)
tree9c70d9bbc8941d55b6b86a58e8a63c3cb369905a /scripts/patch-kernel
parenteec98f82c63730d039e4a87f623cfcf5ac612683 (diff)
serial: 8250: Keep 8250.<xxxx> module options functional after driver rename
commit f2b8dfd9e480c3db3bad0c25c590a5d11b31f4ef upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions