mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
Staging: hv: block_operations can be const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1ec28abbf8
commit
48c9f7c30b
@ -156,7 +156,7 @@ MODULE_PARM_DESC(ring_size, "Ring buffer size (in bytes)");
|
||||
/* The one and only one */
|
||||
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,
|
||||
.open = blkvsc_open,
|
||||
.release = blkvsc_release,
|
||||
|
Loading…
Reference in New Issue
Block a user