]> git.baikalelectronics.ru Git - kernel.git/commit
serial: fix platform driver hotplug/coldplug
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 15 Apr 2008 21:34:35 +0000 (14:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Apr 2008 02:35:40 +0000 (19:35 -0700)
commitb547987a192f2766bda98fef17bf41c0cf6a9f4f
tree71d1911b9973bc68c69597784c9d542c03f935b8
parent6ec1b172dc0fba5d87a338e3c6eaa880e02e6586
serial: fix platform driver hotplug/coldplug

Since 783051097d96fd6c76a33639ecf84634884fcf28, the platform modalias is
prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable serial
platform drivers, to re-enable auto loading.

NOTE that Kconfig for some of these drivers doesn't allow modular builds, and
thus doesn't match the driver source's unload support.  Presumably their
unload code is buggy and/or weakly tested...

[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15 files changed:
drivers/serial/atmel_serial.c
drivers/serial/bfin_5xx.c
drivers/serial/imx.c
drivers/serial/mcf.c
drivers/serial/mpc52xx_uart.c
drivers/serial/mpsc.c
drivers/serial/netx-serial.c
drivers/serial/pnx8xxx_uart.c
drivers/serial/pxa.c
drivers/serial/s3c2410.c
drivers/serial/sa1100.c
drivers/serial/sc26xx.c
drivers/serial/sh-sci.c
drivers/serial/uartlite.c
drivers/serial/vr41xx_siu.c