aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtd_blkdevs.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-05-28 14:51:59 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-06-28 15:24:06 -0400
commit8f026f75accb8c9f1179a4b57a5019af36471046 (patch)
tree77ee08a9ae27a2ce9f4c58e4034829757568adb8 /drivers/mtd/mtd_blkdevs.c
parent8b099a390defd294a3832fe73626c25072967316 (diff)
[MTD] mtd_blkdevs.c: do not export 'mtd_blktrans_ops'
The mtd_blktrans_ops is not defined in any of the headers and is indeed not used elsewhere in the kernel, so mark it as static to reduce the warnings from sparse drivers/mtd/mtd_blkdevs.c:204:32: warning: symbol 'mtd_blktrans_ops' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/mtd_blkdevs.c')
-rw-r--r--drivers/mtd/mtd_blkdevs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtd_blkdevs.c b/drivers/mtd/mtd_blkdevs.c
index 51bc7e2f1f22..781660565cb0 100644
--- a/drivers/mtd/mtd_blkdevs.c
+++ b/drivers/mtd/mtd_blkdevs.c
@@ -201,7 +201,7 @@ static int blktrans_ioctl(struct inode *inode, struct file *file,
201 } 201 }
202} 202}
203 203
204struct block_device_operations mtd_blktrans_ops = { 204static struct block_device_operations mtd_blktrans_ops = {
205 .owner = THIS_MODULE, 205 .owner = THIS_MODULE,
206 .open = blktrans_open, 206 .open = blktrans_open,
207 .release = blktrans_release, 207 .release = blktrans_release,