Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-block
[platform/kernel/linux-starfive.git] / kernel / trace / blktrace.c
index 2c5b3c5..456fe4c 100644 (file)
@@ -449,7 +449,7 @@ static struct dentry *blk_create_buf_file_callback(const char *filename,
                                        &relay_file_operations);
 }
 
-static struct rchan_callbacks blk_relay_callbacks = {
+static const struct rchan_callbacks blk_relay_callbacks = {
        .subbuf_start           = blk_subbuf_start_callback,
        .create_buf_file        = blk_create_buf_file_callback,
        .remove_buf_file        = blk_remove_buf_file_callback,