[lkml]   [2000]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] link time error in drivers/mtd (240t13p2)

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

    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
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.028 / U:50.280 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site