Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MTD] [NAND] Correct misspelled preprocessor variable.

Replace the apparently misspelled preprocessor variable
"MTD_NAND_DISKONCHIP_BBTWRITE" with the correct form
"CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE".

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>

authored by

Robert P. J. Day and committed by
David Woodhouse
89e2bf61 99109a6d

+1 -1
+1 -1
drivers/mtd/nand/diskonchip.c
··· 114 114 static int show_firmware_partition = 0; 115 115 module_param(show_firmware_partition, int, 0); 116 116 117 - #ifdef MTD_NAND_DISKONCHIP_BBTWRITE 117 + #ifdef CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE 118 118 static int inftl_bbt_write = 1; 119 119 #else 120 120 static int inftl_bbt_write = 0;