public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [patch] docmilplus.c, fix compilation error
@ 2005-04-07 11:39 Raphael Zimmerer
  0 siblings, 0 replies; only message in thread
From: Raphael Zimmerer @ 2005-04-07 11:39 UTC (permalink / raw)
  To: linux-mtd

[-- Attachment #1: diskonchip-MTD_PARTITIONS-fix.patch --]
[-- Type: text/plain, Size: 626 bytes --]

When CONFIG_MTD_PARTITIONS is defined, docmilplus.c doesn't compile.

Index: mtd/drivers/mtd/nand/diskonchip.c
===================================================================
--- mtd.orig/drivers/mtd/nand/diskonchip.c	2005-04-06 09:48:10.622501508 +0200
+++ mtd/drivers/mtd/nand/diskonchip.c	2005-04-06 10:26:59.702684218 +0200
@@ -109,10 +109,10 @@
 #ifdef CONFIG_MTD_PARTITIONS
 static int no_autopart=0;
 module_param(no_autopart, int, 0);
+#endif
 
 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;

--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-07 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-07 11:39 [patch] docmilplus.c, fix compilation error Raphael Zimmerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox