Răsfoiți Sursa

[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 ani în urmă
părinte
comite
7fe9296c80
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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,