]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Bluetooth: Use const for struct l2cap_ops field
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 8 Jun 2014 08:05:31 +0000 (10:05 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 8 Jun 2014 09:06:12 +0000 (12:06 +0300)
commit5ba7259650ec83a1821190971d23b6ead0481c4e
treecdce85a2774720d383b1b36c5f40129cbde0ec6c
parent96b72033ee215fd934e2e68b7c24a1602f710f3b
Bluetooth: Use const for struct l2cap_ops field

The struct l2cap_ops field should not allow any modifications and thus
it is better declared as const.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/l2cap.h
net/bluetooth/a2mp.c
net/bluetooth/l2cap_sock.c