From: David Woodhouse <dwmw2@infradead.org>
To: eauth@softsys.co.at
Cc: mtd@infradead.org
Subject: Return of ifdefs in cfi_probe.c
Date: Tue, 19 Dec 2000 14:34:28 +0000 [thread overview]
Message-ID: <3041.977236468@redhat.com> (raw)
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
reply other threads:[~2000-12-19 14:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3041.977236468@redhat.com \
--to=dwmw2@infradead.org \
--cc=eauth@softsys.co.at \
--cc=mtd@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.