drivers/mtd/devices/docprobe.c: correct #if's
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue May 16 08:59:02 EDT 2006
Commit: ce589a0328866228412ea0df2c834688da8f4700
Parent: f41a5f804a5862e9b87cf2d4cca1d6a7db7a9e82
Author: Adrian Bunk <bunk at stusta.de>
AuthorDate: Tue May 16 13:46:44 2006 +0200
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue May 16 13:12:12 2006 +0100
drivers/mtd/devices/docprobe.c: correct #if's
On Mon, May 15, 2006 at 12:56:37AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.17-rc3-mm1:
>...
> git-mtd.patch
>...
> git trees
>...
If we correct the names of the config options, the code might actually
work as intended...
Signed-off-by: Adrian Bunk <bunk at stusta.de>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
drivers/mtd/devices/docprobe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mtd/devices/docprobe.c b/drivers/mtd/devices/docprobe.c
index 32f1d33..42ec084 100644
--- a/drivers/mtd/devices/docprobe.c
+++ b/drivers/mtd/devices/docprobe.c
@@ -231,21 +231,21 @@ #endif
static int docfound;
-#ifdef CONFIG_DOC2000
+#ifdef CONFIG_MTD_DOC2000
extern void DoC2k_init(struct mtd_info *);
#define doc2k_initfunc (&DoC2k_init)
#else
#define doc2k_initfunc NULL
#endif
-#ifdef CONFIG_DOC2001
+#ifdef CONFIG_MTD_DOC2001
extern void DoCMil_init(struct mtd_info *);
#define docmil_initfunc (&DoCMil_init)
#else
#define docmil_initfunc NULL
#endif
-#ifdef CONFIG_DOC2001PLUS
+#ifdef CONFIG_MTD_DOC2001PLUS
extern void DoCMilPlus_init(struct mtd_info *);
#define docmplus_initfunc (&DoCMilPlus_init)
#else
More information about the linux-mtd-cvs
mailing list