* [2.6 patch] mtd: make struct rfd_ftl_tr static
@ 2008-04-14 14:20 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-04-14 14:20 UTC (permalink / raw
To: dwmw2; +Cc: linux-mtd, linux-kernel
This patch makes the needlessly global struct rfd_ftl_tr static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
99d1a83588268cd6d7e5fd43e29fa470cdc8f525 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,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-14 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 14:20 [2.6 patch] mtd: make struct rfd_ftl_tr static Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.