Bluetooth: Use __constant modifier for RFCOMM PSM
authorSyam Sidhardhan <s.syam@samsung.com>
Wed, 10 Oct 2012 16:39:29 +0000 (22:09 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 11 Oct 2012 06:26:28 +0000 (14:26 +0800)
commit5bcb80944dffe68055c1745dc919d22ee1e276a5
tree838b05dad20f240bc480e51503571f87f46869e2
parentd8aece2af380a251daf2351d92dd38b9edf10b84
Bluetooth: Use __constant modifier for RFCOMM PSM

Since the RFCOMM_PSM 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/rfcomm/core.c