[MTD] mtd_blkdevs.c: do not export 'mtd_blktrans_ops'
authorBen Dooks <ben-linux@fluff.org>
Mon, 28 May 2007 18:51:59 +0000 (19:51 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 28 Jun 2007 19:24:06 +0000 (20:24 +0100)
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>
drivers/mtd/mtd_blkdevs.c

index 51bc7e2f1f22d61c735afc81b58f2f7ad35b777c..781660565cb02bff687485f2b29db95a2c4f7e1f 100644 (file)
@@ -201,7 +201,7 @@ static int blktrans_ioctl(struct inode *inode, struct file *file,
        }
 }
 
-struct block_device_operations mtd_blktrans_ops = {
+static struct block_device_operations mtd_blktrans_ops = {
        .owner          = THIS_MODULE,
        .open           = blktrans_open,
        .release        = blktrans_release,
This page took 0.025459 seconds and 5 git commands to generate.