diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-04-18 16:44:27 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-22 09:17:47 -0400 |
commit | 1ff184225b15930ea118ac2130f074c741d34f08 (patch) | |
tree | 7494e2f39d4a047d7d5362ad40286b7c127125c8 /drivers/mtd/nand/bf5xx_nand.c | |
parent | 41d867c9ac852ce17069f8ae680f25877be97942 (diff) |
[MTD] [NAND] fix platform driver hotplug/coldplug
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable MTD NAND
platform drivers, to re-enable auto loading.
NOTE: at91_nand for some reason disallows modular builds. I'm assuming that's
just an oversight that will be fixed.
[dbrownell@users.sourceforge.net: minor fix]
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: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/bf5xx_nand.c')
-rw-r--r-- | drivers/mtd/nand/bf5xx_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c index 747042ab094a..1fbc24ca5836 100644 --- a/drivers/mtd/nand/bf5xx_nand.c +++ b/drivers/mtd/nand/bf5xx_nand.c | |||
@@ -803,3 +803,4 @@ module_exit(bf5xx_nand_exit); | |||
803 | MODULE_LICENSE("GPL"); | 803 | MODULE_LICENSE("GPL"); |
804 | MODULE_AUTHOR(DRV_AUTHOR); | 804 | MODULE_AUTHOR(DRV_AUTHOR); |
805 | MODULE_DESCRIPTION(DRV_DESC); | 805 | MODULE_DESCRIPTION(DRV_DESC); |
806 | MODULE_ALIAS("platform:" DRV_NAME); | ||