All of lore.kernel.org
 help / color / mirror / Atom feed
* [MTD] Fix C jewel
@ 2007-07-23 17:56 Ralf Baechle
  0 siblings, 0 replies; only message in thread
From: Ralf Baechle @ 2007-07-23 17:56 UTC (permalink / raw)
  To: dwmw2, linux-mtd

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

Signed-off-by: Ralf Baechle <ralf@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 };

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

only message in thread, other threads:[~2007-07-23 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 17:56 [MTD] Fix C jewel Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.