Skip to content

Commit

Permalink
[MTD] [NAND] Correct misspelled preprocessor variable.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert P. J. Day authored and David Woodhouse committed Mar 8, 2007
1 parent 99109a6 commit 89e2bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/diskonchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module_param(no_autopart, int, 0);
static int show_firmware_partition = 0;
module_param(show_firmware_partition, int, 0);

#ifdef MTD_NAND_DISKONCHIP_BBTWRITE
#ifdef CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE
static int inftl_bbt_write = 1;
#else
static int inftl_bbt_write = 0;
Expand Down

0 comments on commit 89e2bf6

Please sign in to comment.