From: Adrian Bunk Date: Mon, 4 Aug 2008 09:59:05 +0000 (+0200) Subject: xen-blkfront.c: make blkif_ioctl() static X-Git-Tag: v3.12-rc1~18769^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62aa0054da220b8bbe6f23c0eb1d97a99005d0b3;p=kernel%2Fkernel-generic.git xen-blkfront.c: make blkif_ioctl() static This patch makes the needlessly global blkif_ioctl() static. Signed-off-by: Adrian Bunk Acked-by: Jeremy Fitzhardinge Signed-off-by: Jens Axboe --- 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;