diff options
author | Huang Shijie <b32955@freescale.com> | 2013-09-25 06:58:19 (GMT) |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-10-27 23:27:06 (GMT) |
commit | f48372465ffdff62a6d75a6f34bc850855fb6470 (patch) | |
tree | 3cade83a97953a71c322965d4b75f963087b76ce /drivers | |
parent | 4f8a3ba700b882f61d4cea2d68a8f83fa93c6dfd (diff) | |
download | linux-fsl-qoriq-f48372465ffdff62a6d75a6f34bc850855fb6470.tar.xz |
mtd: add MTD_MLCNANDFLASH case for mtd_type_show()
The current mtd_type_show() misses the MTD_MLCNANDFLASH case.
This patch adds the case for it, and also updates the ABI.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/mtdcore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 5e14d54..92311a5 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -157,6 +157,9 @@ static ssize_t mtd_type_show(struct device *dev, case MTD_UBIVOLUME: type = "ubi"; break; + case MTD_MLCNANDFLASH: + type = "mlc-nand"; + break; default: type = "unknown"; } |