Commit e90a619f authored by Miquel Raynal's avatar Miquel Raynal

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: 93af53b8 ("nand: omap2: Remove horrible ifdefs to fix module probe")
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 6a1b66d6
...@@ -60,6 +60,6 @@ static inline int elm_config(struct device *dev, enum bch_ecc bch_type, ...@@ -60,6 +60,6 @@ static inline int elm_config(struct device *dev, enum bch_ecc bch_type,
{ {
return -ENOSYS; return -ENOSYS;
} }
#endif /* CONFIG_MTD_NAND_ECC_BCH */ #endif /* CONFIG_MTD_NAND_OMAP_BCH */
#endif /* __ELM_H */ #endif /* __ELM_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment