diff mbox series

[v2,1/6] mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol

Message ID 20190304222226.12682-2-miquel.raynal@bootlin.com (mailing list archive)
State New, archived
Headers show
Series mtd: nand: 6th batch of cleanups (Kconfig) | expand

Commit Message

Miquel Raynal March 4, 2019, 10:22 p.m. UTC
The symbol that is being used in the #if/#endif bloc is not the one
mentioned at the bottom.

Fixes: 93af53b8633c ("nand: omap2: Remove horrible ifdefs to fix module probe")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 include/linux/platform_data/elm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sergei Shtylyov March 5, 2019, 8:22 a.m. UTC | #1
Hello!

On 05.03.2019 1:22, Miquel Raynal wrote:

> The symbol that is being used in the #if/#endif bloc is not the one

    Block?

> mentioned at the bottom.
> 
> Fixes: 93af53b8633c ("nand: omap2: Remove horrible ifdefs to fix module probe")
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
[...]

MBR, Sergei
Miquel Raynal March 6, 2019, 9:52 a.m. UTC | #2
Hi Sergei,

Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> wrote on Tue, 5
Mar 2019 11:22:19 +0300:

> Hello!
> 
> On 05.03.2019 1:22, Miquel Raynal wrote:
> 
> > The symbol that is being used in the #if/#endif bloc is not the one  
> 
>     Block?

Right!

Thanks for reporting the typo I will correct it.

Miquèl
diff mbox series

Patch

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 */