Skip to content

Commit 7fe9296

Browse files
AdrianBunkdwmw2
authored andcommitted
[MTD] make struct rfd_ftl_tr static
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>
1 parent 607d1cb commit 7fe9296

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/rfd_ftl.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ static void rfd_ftl_remove_dev(struct mtd_blktrans_dev *dev)
823823
kfree(part);
824824
}
825825

826-
struct mtd_blktrans_ops rfd_ftl_tr = {
826+
static struct mtd_blktrans_ops rfd_ftl_tr = {
827827
.name = "rfd",
828828
.major = RFD_FTL_MAJOR,
829829
.part_bits = PART_BITS,

0 commit comments

Comments
 (0)