]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Bluetooth: constify seq_operations
authorFabian Frederick <fabf@skynet.be>
Mon, 30 Jun 2014 17:26:23 +0000 (19:26 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:52 +0000 (17:42 +0200)
bt_seq_ops is only used with __seq_open_private as
const struct seq_operations *

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/af_bluetooth.c

index 2021c481cdb657a8011938f5e8486c4c93f0c116..4dca0299ed96875b16a80929a98b3a6972003be4 100644 (file)
@@ -639,7 +639,7 @@ static int bt_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations bt_seq_ops = {
+static const struct seq_operations bt_seq_ops = {
        .start = bt_seq_start,
        .next  = bt_seq_next,
        .stop  = bt_seq_stop,