mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
607d1cb104
commit
7fe9296c80
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue