[MTD] Fix C jewel

Ralf Baechle ralf at linux-mips.org
Mon Jul 23 13:56:19 EDT 2007


No idea why gcc doesn't barf on a "##else".

Signed-off-by: Ralf Baechle <ralf at linux-mips.org>

diff --git a/drivers/mtd/devices/docprobe.c b/drivers/mtd/devices/docprobe.c
index b96ac8e..5f895b3 100644
--- a/drivers/mtd/devices/docprobe.c
+++ b/drivers/mtd/devices/docprobe.c
@@ -86,7 +86,7 @@ static unsigned long __initdata doc_locations[] = {
         0xff000000,
 #elif defined(CONFIG_MOMENCO_OCELOT_G)
         0xff000000,
-##else
+#else
 #warning Unknown architecture for DiskOnChip. No default probe locations defined
 #endif
 	0xffffffff };



More information about the linux-mtd mailing list