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

From: Andrew Morton
Date: Tue Dec 23 2003 - 01:58:13 EST


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?

-
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/