projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec28ab
)
Staging: hv: block_operations can be const
author
Stephen Hemminger
<shemminger@vyatta.com>
Fri, 7 May 2010 04:44:44 +0000
(21:44 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 21:15:34 +0000
(14:15 -0700)
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>
drivers/staging/hv/blkvsc_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/blkvsc_drv.c
b/drivers/staging/hv/blkvsc_drv.c
index d068f15603ce782f18c742adc562e9e16ed2918f..61bd0be5fb189391823ad255bd9ebcdbbe1a448f 100644
(file)
--- a/
drivers/staging/hv/blkvsc_drv.c
+++ b/
drivers/staging/hv/blkvsc_drv.c
@@
-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,