瀏覽代碼

[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>
Adrian Bunk 17 年之前
父節點
當前提交
7fe9296c80
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mtd/rfd_ftl.c

+ 1 - 1
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,