]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 7 Feb 2019 14:28:24 +0000 (15:28 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 08:21:17 +0000 (10:21 +0200)
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>
include/linux/platform_data/elm.h

index b8686c00f15ff9fca42df0c8e3552a1031b52e83..fef4b081b73632c357459f7532259f3c46c2fd3a 100644 (file)
@@ -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 */