From: Miquel Raynal Date: Thu, 7 Feb 2019 14:28:24 +0000 (+0100) Subject: mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol X-Git-Tag: v5.4-rc1~1009^2~30^2~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e90a619fb7e1acb5e18f1ab618c6d10b08f0fc70;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/include/linux/platform_data/elm.h b/include/linux/platform_data/elm.h index b8686c0..fef4b08 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 */