Bluetooth: Use __constant modifier for L2CAP SMP CID
authorSyam Sidhardhan <s.syam@samsung.com>
Wed, 10 Oct 2012 16:39:28 +0000 (22:09 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 11 Oct 2012 06:25:58 +0000 (14:25 +0800)
commitd8aece2af380a251daf2351d92dd38b9edf10b84
tree3664c3d8179e188290b0e39045698af2fb1b3c8f
parent78c1b8e822a0bcf9655a0da3633137b51e17f068
Bluetooth: Use __constant modifier for L2CAP SMP CID

Since the L2CAP_CID_SMP is constant, __constant_cpu_to_le16() is
the right go here.

Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/smp.c