projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607d1cb
)
[MTD] make struct rfd_ftl_tr static
author
Adrian Bunk
<bunk@kernel.org>
Mon, 14 Apr 2008 14:20:40 +0000
(17:20 +0300)
committer
David Woodhouse
<dwmw2@infradead.org>
Tue, 22 Apr 2008 14:59:25 +0000
(15:59 +0100)
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>
drivers/mtd/rfd_ftl.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/rfd_ftl.c
b/drivers/mtd/rfd_ftl.c
index 823fba4e6d2fa99c5c5ea2049edd820c9fda1c5c..c84e45465499dba5ad0117c1fc213b4104705171 100644
(file)
--- a/
drivers/mtd/rfd_ftl.c
+++ b/
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 = {
+st
atic st
ruct mtd_blktrans_ops rfd_ftl_tr = {
.name = "rfd",
.major = RFD_FTL_MAJOR,
.part_bits = PART_BITS,