diff options
Diffstat (limited to 'drivers/block/rd.c')
-rw-r--r-- | drivers/block/rd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rd.c b/drivers/block/rd.c index e64f26ec614..a9e1c2524c2 100644 --- a/drivers/block/rd.c +++ b/drivers/block/rd.c | |||
@@ -190,7 +190,7 @@ static int ramdisk_set_page_dirty(struct page *page) | |||
190 | return 0; | 190 | return 0; |
191 | } | 191 | } |
192 | 192 | ||
193 | static struct address_space_operations ramdisk_aops = { | 193 | static const struct address_space_operations ramdisk_aops = { |
194 | .readpage = ramdisk_readpage, | 194 | .readpage = ramdisk_readpage, |
195 | .prepare_write = ramdisk_prepare_write, | 195 | .prepare_write = ramdisk_prepare_write, |
196 | .commit_write = ramdisk_commit_write, | 196 | .commit_write = ramdisk_commit_write, |