|
@@ -3133,7 +3133,7 @@ static void tracing_spd_release_pipe(struct splice_pipe_desc *spd,
|
|
|
__free_page(spd->pages[idx]);
|
|
|
}
|
|
|
|
|
|
-static struct pipe_buf_operations tracing_pipe_buf_ops = {
|
|
|
+static const struct pipe_buf_operations tracing_pipe_buf_ops = {
|
|
|
.can_merge = 0,
|
|
|
.map = generic_pipe_buf_map,
|
|
|
.unmap = generic_pipe_buf_unmap,
|
|
@@ -3617,7 +3617,7 @@ static void buffer_pipe_buf_get(struct pipe_inode_info *pipe,
|
|
|
}
|
|
|
|
|
|
/* Pipe buffer operations for a buffer. */
|
|
|
-static struct pipe_buf_operations buffer_pipe_buf_ops = {
|
|
|
+static const struct pipe_buf_operations buffer_pipe_buf_ops = {
|
|
|
.can_merge = 0,
|
|
|
.map = generic_pipe_buf_map,
|
|
|
.unmap = generic_pipe_buf_unmap,
|