[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080721193339.GC14846@cs181140183.pp.htv.fi>
Date: Mon, 21 Jul 2008 22:33:39 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Christian Limpach <Christian.Limpach@...source.com>,
Jeremy Fitzhardinge <jeremy.fitzhardinge@...rix.com>,
Jens Axboe <jens.axboe@...cle.com>
Cc: xen-devel@...ts.xensource.com, linux-kernel@...r.kernel.org
Subject: [2.6 patch] xen-blkfront.c: make blkif_ioctl() static
This patch makes the needlessly global blkif_ioctl() static.
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
c3e35790145bb28443ccb672fb46318e845c5f05
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index 9ae05c5..3ca643c 100644
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -154,8 +154,8 @@ static int blkif_getgeo(struct block_device *bd, struct hd_geometry *hg)
return 0;
}
-int blkif_ioctl(struct inode *inode, struct file *filep,
- unsigned command, unsigned long argument)
+static int blkif_ioctl(struct inode *inode, struct file *filep,
+ unsigned command, unsigned long argument)
{
struct blkfront_info *info =
inode->i_bdev->bd_disk->private_data;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists