projects
/
platform
/
kernel
/
linux-exynos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
const: make block_device_operations const
[platform/kernel/linux-exynos.git]
/
drivers
/
block
/
swim.c
diff --git
a/drivers/block/swim.c
b/drivers/block/swim.c
index
cf7877f
..
8f569e3
100644
(file)
--- a/
drivers/block/swim.c
+++ b/
drivers/block/swim.c
@@
-748,7
+748,7
@@
static int floppy_revalidate(struct gendisk *disk)
return !fs->disk_in;
}
-static struct block_device_operations floppy_fops = {
+static
const
struct block_device_operations floppy_fops = {
.owner = THIS_MODULE,
.open = floppy_open,
.release = floppy_release,