Commit 26b0f4e2 authored by Fabian Frederick's avatar Fabian Frederick Committed by Marcel Holtmann

Bluetooth: constify seq_operations

bt_seq_ops is only used with __seq_open_private as
const struct seq_operations *
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent d4905f24
...@@ -639,7 +639,7 @@ static int bt_seq_show(struct seq_file *seq, void *v) ...@@ -639,7 +639,7 @@ static int bt_seq_show(struct seq_file *seq, void *v)
return 0; return 0;
} }
static struct seq_operations bt_seq_ops = { static const struct seq_operations bt_seq_ops = {
.start = bt_seq_start, .start = bt_seq_start,
.next = bt_seq_next, .next = bt_seq_next,
.stop = bt_seq_stop, .stop = bt_seq_stop,
......
Markdown is supported
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