spi: fix platform driver hotplug/coldplug
Since 43cc71eed1
, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable SPI
platform drivers, to allow module auto loading.
[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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
8d1c98b0b5
commit
7e38c3c445
@@ -1396,7 +1396,7 @@ static int bfin5xx_spi_resume(struct platform_device *pdev)
|
||||
#define bfin5xx_spi_resume NULL
|
||||
#endif /* CONFIG_PM */
|
||||
|
||||
MODULE_ALIAS("bfin-spi-master"); /* for platform bus hotplug */
|
||||
MODULE_ALIAS("platform:bfin-spi");
|
||||
static struct platform_driver bfin5xx_spi_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
|
Reference in New Issue
Block a user