* [PATCH] fix static build of drivers/mtd/chips/jedec_probe.c
@ 2003-12-23 5:56 Bernardo Innocenti
2003-12-23 6:54 ` Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: Bernardo Innocenti @ 2003-12-23 5:56 UTC (permalink / raw)
To: mtd; +Cc: Linus Torvalds, lkml
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>
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] fix static build of drivers/mtd/chips/jedec_probe.c
2003-12-23 5:56 [PATCH] fix static build of drivers/mtd/chips/jedec_probe.c Bernardo Innocenti
@ 2003-12-23 6:54 ` Andrew Morton
2003-12-23 7:05 ` Bernardo Innocenti
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2003-12-23 6:54 UTC (permalink / raw)
To: Bernardo Innocenti; +Cc: mtd, torvalds, linux-kernel
Bernardo Innocenti <bernie@develer.com> 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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] fix static build of drivers/mtd/chips/jedec_probe.c
2003-12-23 6:54 ` Andrew Morton
@ 2003-12-23 7:05 ` Bernardo Innocenti
0 siblings, 0 replies; 3+ messages in thread
From: Bernardo Innocenti @ 2003-12-23 7:05 UTC (permalink / raw)
To: Andrew Morton; +Cc: mtd, torvalds, linux-kernel
Andrew Morton wrote:
> Bernardo Innocenti <bernie@develer.com> 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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-23 7:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-23 5:56 [PATCH] fix static build of drivers/mtd/chips/jedec_probe.c Bernardo Innocenti
2003-12-23 6:54 ` Andrew Morton
2003-12-23 7:05 ` Bernardo Innocenti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox