X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fbsg.c;h=8e181ab3afb9a515f38195b450145002a2be044d;hb=7607341a265a56cdf8b4bf10d355098e80ea481b;hp=b8ddfc66f210aac023479291a95ea1627f396950;hpb=4fa435018d740cb83d74c92306aa1f796da91ddd;p=linux-2.6 diff --git a/block/bsg.c b/block/bsg.c index b8ddfc66f2..8e181ab3af 100644 --- a/block/bsg.c +++ b/block/bsg.c @@ -908,7 +908,7 @@ static long bsg_ioctl(struct file *file, unsigned int cmd, unsigned long arg) } } -static struct file_operations bsg_fops = { +static const struct file_operations bsg_fops = { .read = bsg_read, .write = bsg_write, .poll = bsg_poll,