* Return of ifdefs in cfi_probe.c
@ 2000-12-19 14:34 David Woodhouse
0 siblings, 0 replies; only message in thread
From: David Woodhouse @ 2000-12-19 14:34 UTC (permalink / raw)
To: eauth; +Cc: mtd
The use of weak symbols was intended to render the ifdefs which you
restored unnecessary. Are you sure it didn't work right in 2.0 the way I
left it?
--- cfi_probe.c 2000/12/18 00:03:26 1.30
+++ cfi_probe.c 2000/12/18 16:14:51 1.31
@@ -1,7 +1,7 @@
/*
Common Flash Interface probe code.
(C) 2000 Red Hat. GPL'd.
- $Id: cfi_probe.c,v 1.30 2000/12/18 00:03:26 dwmw2 Exp $
+ $Id: cfi_probe.c,v 1.31 2000/12/18 16:14:51 eauth Exp $
*/
#include <linux/config.h>
@@ -741,21 +741,23 @@
return;
switch(type){
+#ifdef CONFIG_MTD_CFI_INTELEXT
case 0x0001:
probe_function = cfi_cmdset_0001;
break;
-
+#endif
+#ifdef CONFIG_MTD_CFI_AMDSTD
case 0x0002:
probe_function = cfi_cmdset_0002;
break;
+#endif
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-19 14:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-19 14:34 Return of ifdefs in cfi_probe.c David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox