linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] link time error in drivers/mtd (240t13p2)
@ 2000-12-16 22:07 Rasmus Andersen
  2000-12-16 23:15 ` Keith Owens
  2000-12-17 10:27 ` David Woodhouse
  0 siblings, 2 replies; 13+ messages in thread
From: Rasmus Andersen @ 2000-12-16 22:07 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-kernel

Hi.

Various files in drivers/mtd references cfi_probe (by way of do_cfi_probe).
This function is static and thus not shared. The following patch removes
the static declaration but if it is What Was Intended I do not know. It
makes the kernel link, however.


--- linux-240-t13-pre2-clean/drivers/mtd/cfi_probe.c	Wed Nov 22 22:41:39 2000
+++ linux/drivers/mtd/cfi_probe.c	Sat Dec 16 22:58:57 2000
@@ -17,7 +17,7 @@
 #include <linux/mtd/cfi.h>
 
 
-static struct mtd_info *cfi_probe(struct map_info *);
+struct mtd_info *cfi_probe(struct map_info *);
 
 static void print_cfi_ident(struct cfi_ident *);
 static void check_cmd_set(struct map_info *, int, unsigned long);
@@ -32,7 +32,7 @@
  * this module is non-zero, i.e. between inter_module_get and
  * inter_module_put.  Keith Owens <kaos@ocs.com.au> 29 Oct 2000.
  */
-static struct mtd_info *cfi_probe(struct map_info *map)
+struct mtd_info *cfi_probe(struct map_info *map)
 {
 	struct mtd_info *mtd = NULL;
 	struct cfi_private *cfi;

-- 
        Rasmus(rasmus@jaquet.dk)

The Holocaust was an obscene period in our nation's history. I mean
in this century's history. But we all lived in this century. I didn't
live in this century.
                -- Senator Dan Quayle, 9/15/88
                   (reported in Esquire, 8/92, The New Yorker, 10/10/88, p.102)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2000-12-18  8:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-16 22:07 [PATCH] link time error in drivers/mtd (240t13p2) Rasmus Andersen
2000-12-16 23:15 ` Keith Owens
2000-12-17 10:01   ` David Woodhouse
2000-12-17 10:32     ` Keith Owens
2000-12-17 10:44       ` David Woodhouse
2000-12-17 10:51         ` Keith Owens
2000-12-17 11:39           ` David Woodhouse
2000-12-17 11:54             ` Keith Owens
2000-12-17 12:04               ` David Woodhouse
2000-12-17 15:20           ` Alan Cox
2000-12-17 16:32       ` Horst von Brand
2000-12-18  7:47         ` Peter Samuelson
2000-12-17 10:27 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).