diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2011-06-27 08:34:46 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 08:02:14 -0400 |
commit | 9786f6e68af00d0988ad7f51fe3fd118be1c30ad (patch) | |
tree | e4d895549b8fe5ba0f27cdbb9685a48ab4b229cf | |
parent | 041e4575f03400e045f00a823fcbbbb337de8409 (diff) |
mtd: ofpart: add ofoldpart alias
ofpart.ko also provides ofoldpart MTD parser. Add respective
MODULE_ALIAS("ofoldpart"); declaration.
Artem: improve the comment
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
-rw-r--r-- | drivers/mtd/ofpart.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/ofpart.c b/drivers/mtd/ofpart.c index aa33b8ad4f3c..64be8f0848b0 100644 --- a/drivers/mtd/ofpart.c +++ b/drivers/mtd/ofpart.c | |||
@@ -176,3 +176,9 @@ module_init(ofpart_parser_init); | |||
176 | MODULE_LICENSE("GPL"); | 176 | MODULE_LICENSE("GPL"); |
177 | MODULE_DESCRIPTION("Parser for MTD partitioning information in device tree"); | 177 | MODULE_DESCRIPTION("Parser for MTD partitioning information in device tree"); |
178 | MODULE_AUTHOR("Vitaly Wool, David Gibson"); | 178 | MODULE_AUTHOR("Vitaly Wool, David Gibson"); |
179 | /* | ||
180 | * When MTD core cannot find the requested parser, it tries to load the module | ||
181 | * with the same name. Since we provide the ofoldpart parser, we should have | ||
182 | * the corresponding alias. | ||
183 | */ | ||
184 | MODULE_ALIAS("ofoldpart"); | ||