summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-08-04 11:59:05 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-08-06 12:30:04 +0200
commit62aa0054da220b8bbe6f23c0eb1d97a99005d0b3 (patch)
treefc56b0033c35ac84888cfd48f7013bf3790b3e85 /drivers/block
parent1ac0ae062cecd37587f5b951089f90e1d9d91769 (diff)
xen-blkfront.c: make blkif_ioctl() static
This patch makes the needlessly global blkif_ioctl() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/xen-blkfront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index 9ae05c584234..3ca643cafccd 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;