aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Brown <dan_brown@ieee.org>2005-04-07 09:39:17 -0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 07:11:16 -0400
commit7e4a1d3e6abec5464169a29a3d34473a59e2e8b7 (patch)
treed5cae9efa93f4d6b3985e570d200a1c294fe5938 /drivers
parentdff59421983b235d5b8f713d01213fcc7f57c970 (diff)
[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')
-rw-r--r--drivers/mtd/nand/diskonchip.c4
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 @@
16 * 16 *
17 * Interface to generic NAND code for M-Systems DiskOnChip devices 17 * Interface to generic NAND code for M-Systems DiskOnChip devices
18 * 18 *
19 * $Id: diskonchip.c,v 1.52 2005/04/06 20:14:19 dbrown Exp $ 19 * $Id: diskonchip.c,v 1.53 2005/04/07 13:39:13 dbrown Exp $
20 */ 20 */
21 21
22#include <linux/kernel.h> 22#include <linux/kernel.h>
@@ -106,13 +106,11 @@ module_param(try_dword, int, 0);
106static int no_ecc_failures=0; 106static int no_ecc_failures=0;
107module_param(no_ecc_failures, int, 0); 107module_param(no_ecc_failures, int, 0);
108 108
109#ifdef CONFIG_MTD_PARTITIONS
110static int no_autopart=0; 109static int no_autopart=0;
111module_param(no_autopart, int, 0); 110module_param(no_autopart, int, 0);
112 111
113static int show_firmware_partition=0; 112static int show_firmware_partition=0;
114module_param(show_firmware_partition, int, 0); 113module_param(show_firmware_partition, int, 0);
115#endif
116 114
117#ifdef MTD_NAND_DISKONCHIP_BBTWRITE 115#ifdef MTD_NAND_DISKONCHIP_BBTWRITE
118static int inftl_bbt_write=1; 116static int inftl_bbt_write=1;