diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-03-07 04:04:24 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-03-11 15:20:05 +0100 |
commit | c804c733846572ca85c2bba60c7fe6fa024dff18 (patch) | |
tree | 0f9882ffb7611f26a80c33db3f6aaed1f6f558af /drivers/mtd/onenand/omap2.c | |
parent | mtd: mtd_blkdevs: fix double free on error path (diff) | |
download | linux-c804c733846572ca85c2bba60c7fe6fa024dff18.tar.xz linux-c804c733846572ca85c2bba60c7fe6fa024dff18.zip |
mtd: add "platform:" prefix for platform modalias
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:".
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Cc: stable@kernel.org
Diffstat (limited to '')
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index ac31f461cc1c..c849cacf4b2f 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c @@ -860,7 +860,7 @@ static void __exit omap2_onenand_exit(void) module_init(omap2_onenand_init); module_exit(omap2_onenand_exit); -MODULE_ALIAS(DRIVER_NAME); +MODULE_ALIAS("platform:" DRIVER_NAME); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Jarkko Lavinen <jarkko.lavinen@nokia.com>"); MODULE_DESCRIPTION("Glue layer for OneNAND flash on OMAP2 / OMAP3"); |