summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/elm.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-02-07 15:28:24 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-04-08 10:21:17 +0200
commite90a619fb7e1acb5e18f1ab618c6d10b08f0fc70 (patch)
tree3a1eb3bd67ea6bb85aacb4fc9d49bb3125113444 /include/linux/platform_data/elm.h
parent6a1b66d6c8d691b1395d5c3b660ac4469c25bc28 (diff)
mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
The symbol that is being used in the #if/#endif block is not the one which is mentioned at the bottom. Fixes: 93af53b8633c ("nand: omap2: Remove horrible ifdefs to fix module probe") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/platform_data/elm.h')
-rw-r--r--include/linux/platform_data/elm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/elm.h b/include/linux/platform_data/elm.h
index b8686c00f15f..fef4b081b736 100644
--- a/include/linux/platform_data/elm.h
+++ b/include/linux/platform_data/elm.h
@@ -60,6 +60,6 @@ static inline int elm_config(struct device *dev, enum bch_ecc bch_type,
{
return -ENOSYS;
}
-#endif /* CONFIG_MTD_NAND_ECC_BCH */
+#endif /* CONFIG_MTD_NAND_OMAP_BCH */
#endif /* __ELM_H */