Commit 4df219cf authored by Jani Nikula's avatar Jani Nikula Committed by Stephen Rothwell
Browse files

drm/i915: make relay callbacks const

Now that relay_open() accepts const callbacks, make relay callbacks const.


Signed-off-by: default avatarJani Nikula <>
Cc: Christoph Hellwig <>
Cc: Jens Axboe <>
Cc: Kalle Valo <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarStephen Rothwell <>
parent 5edf0cf0
......@@ -134,7 +134,7 @@ static int remove_buf_file_callback(struct dentry *dentry)
/* relay channel callbacks */
static struct rchan_callbacks relay_callbacks = {
static const struct rchan_callbacks relay_callbacks = {
.subbuf_start = subbuf_start_callback,
.create_buf_file = create_buf_file_callback,
.remove_buf_file = remove_buf_file_callback,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment