]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/block/xd.c
const: make block_device_operations const
[net-next-2.6.git] / drivers / block / xd.c
index ce2429219925597edddb597ed88c09ff37c48b75..0877d3628fdae251f48b87d87fffeb1e9d11df29 100644 (file)
@@ -130,7 +130,7 @@ static struct gendisk *xd_gendisk[2];
 
 static int xd_getgeo(struct block_device *bdev, struct hd_geometry *geo);
 
-static struct block_device_operations xd_fops = {
+static const struct block_device_operations xd_fops = {
        .owner  = THIS_MODULE,
        .locked_ioctl   = xd_ioctl,
        .getgeo = xd_getgeo,