]> err.no Git - linux-2.6/commitdiff
[MTD] make struct rfd_ftl_tr static
authorAdrian Bunk <bunk@kernel.org>
Mon, 14 Apr 2008 14:20:40 +0000 (17:20 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 14:59:25 +0000 (15:59 +0100)
This patch makes the needlessly global struct rfd_ftl_tr static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/rfd_ftl.c

index 823fba4e6d2fa99c5c5ea2049edd820c9fda1c5c..c84e45465499dba5ad0117c1fc213b4104705171 100644 (file)
@@ -823,7 +823,7 @@ static void rfd_ftl_remove_dev(struct mtd_blktrans_dev *dev)
        kfree(part);
 }
 
-struct mtd_blktrans_ops rfd_ftl_tr = {
+static struct mtd_blktrans_ops rfd_ftl_tr = {
        .name           = "rfd",
        .major          = RFD_FTL_MAJOR,
        .part_bits      = PART_BITS,