Re: [PATCH] fix static build of drivers/mtd/chips/jedec_probe.c

From: Bernardo Innocenti
Date: Tue Dec 23 2003 - 02:06:43 EST


Andrew Morton wrote:
Bernardo Innocenti <bernie@xxxxxxxxxxx> wrote:

Hello,

one liner fix for building jedec_probe statically in m68knommu and possibly other archs.

Applies to 2.6.0.


--- drivers/mtd/chips/jedec_probe.c 2003-12-23 06:50:51.842514068 +0100
+++ drivers/mtd/chips/jedec_probe.c.orig 2003-12-23 06:51:15.512685112 +0100
@@ -8,7 +8,6 @@

#include <linux/config.h>
#include <linux/module.h>
-#include <linux/init.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <asm/io.h>

Inclusion of init.h shouldn't break anything. What is the error?

OOPS, I reversed the diff by mistake. The patch was supposed to
*add* that line ;-)

--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/