Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e4a1d3e authored by Dan Brown's avatar Dan Brown Committed by Thomas Gleixner
Browse files

[MTD] DiskOnChip: Fix compile w/o CONFIG_MTD_PARTITIONS.

parent dff59421
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
 *  
 *  
 * Interface to generic NAND code for M-Systems DiskOnChip devices
 * 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>
#include <linux/kernel.h>
@@ -106,13 +106,11 @@ module_param(try_dword, int, 0);
static int no_ecc_failures=0;
static int no_ecc_failures=0;
module_param(no_ecc_failures, int, 0);
module_param(no_ecc_failures, int, 0);


#ifdef CONFIG_MTD_PARTITIONS
static int no_autopart=0;
static int no_autopart=0;
module_param(no_autopart, int, 0);
module_param(no_autopart, int, 0);


static int show_firmware_partition=0;
static int show_firmware_partition=0;
module_param(show_firmware_partition, int, 0);
module_param(show_firmware_partition, int, 0);
#endif


#ifdef MTD_NAND_DISKONCHIP_BBTWRITE
#ifdef MTD_NAND_DISKONCHIP_BBTWRITE
static int inftl_bbt_write=1;
static int inftl_bbt_write=1;