diff options
author | Dan Brown <dan_brown@ieee.org> | 2005-04-07 14:39:17 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 13:11:16 +0200 |
commit | 7e4a1d3e6abec5464169a29a3d34473a59e2e8b7 (patch) | |
tree | d5cae9efa93f4d6b3985e570d200a1c294fe5938 /drivers/mtd/nand/diskonchip.c | |
parent | dff59421983b235d5b8f713d01213fcc7f57c970 (diff) | |
download | blackbird-op-linux-7e4a1d3e6abec5464169a29a3d34473a59e2e8b7.tar.gz blackbird-op-linux-7e4a1d3e6abec5464169a29a3d34473a59e2e8b7.zip |
[MTD] DiskOnChip: Fix compile w/o CONFIG_MTD_PARTITIONS.
Signed-off-by: Dan Brown <dan_brown@ieee.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/nand/diskonchip.c')
-rw-r--r-- | drivers/mtd/nand/diskonchip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c index fdc495c2f3e9..9f33f335a39d 100644 --- a/drivers/mtd/nand/diskonchip.c +++ b/drivers/mtd/nand/diskonchip.c @@ -16,7 +16,7 @@ * * Interface to generic NAND code for M-Systems DiskOnChip devices * - * $Id: diskonchip.c,v 1.52 2005/04/06 20:14:19 dbrown Exp $ + * $Id: diskonchip.c,v 1.53 2005/04/07 13:39:13 dbrown Exp $ */ #include <linux/kernel.h> @@ -106,13 +106,11 @@ module_param(try_dword, int, 0); static int no_ecc_failures=0; module_param(no_ecc_failures, int, 0); -#ifdef CONFIG_MTD_PARTITIONS static int no_autopart=0; module_param(no_autopart, int, 0); static int show_firmware_partition=0; module_param(show_firmware_partition, int, 0); -#endif #ifdef MTD_NAND_DISKONCHIP_BBTWRITE static int inftl_bbt_write=1; |