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

Bernardo Innocenti bernie at develer.com
Tue Dec 23 01:16:56 EST 2003


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.orig	2003-12-23 06:50:51.842514068 +0100
+++ drivers/mtd/chips/jedec_probe.c	2003-12-23 06:51:15.512685112 +0100
@@ -8,6 +8,7 @@
 
 #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/






More information about the linux-mtd mailing list