[MTD] make struct rfd_ftl_tr static

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Apr 22 11:59:02 EDT 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7fe9296c80e9a4ee51b43fbfbceb5143751a9d5c
Commit:     7fe9296c80e9a4ee51b43fbfbceb5143751a9d5c
Parent:     607d1cb1042657177bf72247eeb85c0d8416bd51
Author:     Adrian Bunk <bunk at kernel.org>
AuthorDate: Mon Apr 14 17:20:40 2008 +0300
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 22 15:59:25 2008 +0100

    [MTD] make struct rfd_ftl_tr static
    
    This patch makes the needlessly global struct rfd_ftl_tr static.
    
    Signed-off-by: Adrian Bunk <bunk at kernel.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/rfd_ftl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/rfd_ftl.c b/drivers/mtd/rfd_ftl.c
index 823fba4..c84e454 100644
--- a/drivers/mtd/rfd_ftl.c
+++ b/drivers/mtd/rfd_ftl.c
@@ -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,



More information about the linux-mtd-cvs mailing list