diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-30 19:26:23 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 17:42:52 +0200 |
commit | 26b0f4e2f9d022193039a72db09c048b9ae93459 (patch) | |
tree | b1383cb937b4bdc8d7e7ed7ae199b80b5087ad0c /net/bluetooth/af_bluetooth.c | |
parent | d4905f2453bd228d8ffc57f4e25bba0a8f52c805 (diff) | |
download | blackbird-op-linux-26b0f4e2f9d022193039a72db09c048b9ae93459.tar.gz blackbird-op-linux-26b0f4e2f9d022193039a72db09c048b9ae93459.zip |
Bluetooth: constify seq_operations
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>
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
-rw-r--r-- | net/bluetooth/af_bluetooth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c index 2021c481cdb6..4dca0299ed96 100644 --- a/net/bluetooth/af_bluetooth.c +++ b/net/bluetooth/af_bluetooth.c @@ -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, |