Skip to content

Commit

Permalink
[MTD] make struct rfd_ftl_tr static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David Woodhouse committed Apr 22, 2008
1 parent 607d1cb commit 7fe9296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/rfd_ftl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7fe9296

Please sign in to comment.