Commit 48c9f7c3 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Greg Kroah-Hartman

Staging: hv: block_operations can be const

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1ec28abb
...@@ -156,7 +156,7 @@ MODULE_PARM_DESC(ring_size, "Ring buffer size (in bytes)"); ...@@ -156,7 +156,7 @@ MODULE_PARM_DESC(ring_size, "Ring buffer size (in bytes)");
/* The one and only one */ /* The one and only one */
static struct blkvsc_driver_context g_blkvsc_drv; static struct blkvsc_driver_context g_blkvsc_drv;
static struct block_device_operations block_ops = { static const struct block_device_operations block_ops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = blkvsc_open, .open = blkvsc_open,
.release = blkvsc_release, .release = blkvsc_release,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment