X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmtd%2Finftlcore.c;h=ea32c03e670c4b49d5fa9aa08b8926d8e79d0f9e;hb=3ec04f3d2903fdf6d9849a8633af59b8628164a5;hp=39eb53f6551f0d96943539ce0ce0a41aba1dc22f;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/drivers/mtd/inftlcore.c b/drivers/mtd/inftlcore.c index 39eb53f65..ea32c03e6 100644 --- a/drivers/mtd/inftlcore.c +++ b/drivers/mtd/inftlcore.c @@ -7,7 +7,7 @@ * (c) 1999 Machine Vision Holdings, Inc. * Author: David Woodhouse * - * $Id: inftlcore.c,v 1.18 2004/11/16 18:28:59 dwmw2 Exp $ + * $Id: inftlcore.c,v 1.17 2004/08/09 13:56:48 dwmw2 Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -352,7 +352,7 @@ static u16 INFTL_foldchain(struct INFTLrecord *inftl, unsigned thisVUC, unsigned return targetEUN; } -static u16 INFTL_makefreeblock(struct INFTLrecord *inftl, unsigned pendingblock) +u16 INFTL_makefreeblock(struct INFTLrecord *inftl, unsigned pendingblock) { /* * This is the part that needs some cleverness applied. @@ -877,7 +877,7 @@ static int inftl_getgeo(struct mtd_blktrans_dev *dev, struct hd_geometry *geo) return 0; } -static struct mtd_blktrans_ops inftl_tr = { +struct mtd_blktrans_ops inftl_tr = { .name = "inftl", .major = INFTL_MAJOR, .part_bits = INFTL_PARTN_BITS, @@ -891,9 +891,9 @@ static struct mtd_blktrans_ops inftl_tr = { extern char inftlmountrev[]; -static int __init init_inftl(void) +int __init init_inftl(void) { - printk(KERN_INFO "INFTL: inftlcore.c $Revision: 1.18 $, " + printk(KERN_INFO "INFTL: inftlcore.c $Revision: 1.17 $, " "inftlmount.c %s\n", inftlmountrev); return register_mtd_blktrans(&inftl_tr);