lkml.org 
[lkml]   [2003]   [Dec]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 23 Dec 2003 08:05:07 +0100
FromBernardo Innocenti <>
SubjectRe: [PATCH] fix static build of drivers/mtd/chips/jedec_probe.c
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/

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

\
 
 \ /
  Last update: 2005-03-22 12:59    [from the cache]
©2003-2008