diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-11-14 10:39:32 -0500 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-11-19 16:30:56 -0500 |
commit | 62cd50e262182685c291bc86076e74ef6f7331b1 (patch) | |
tree | 585d8e0bb7b21b0342c2ed94a9b71a0327a86237 /net/bluetooth | |
parent | 12d6cc60f2d02d5754ca662b414f8f96200b14a6 (diff) |
Bluetooth: trivial: Use __constant for constants
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index fc92fe341115..3ed93938370a 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -4528,12 +4528,12 @@ static void l2cap_do_create(struct l2cap_chan *chan, int result, | |||
4528 | /* Incoming channel on AMP */ | 4528 | /* Incoming channel on AMP */ |
4529 | if (result == L2CAP_CR_SUCCESS) { | 4529 | if (result == L2CAP_CR_SUCCESS) { |
4530 | /* Send successful response */ | 4530 | /* Send successful response */ |
4531 | rsp.result = cpu_to_le16(L2CAP_CR_SUCCESS); | 4531 | rsp.result = __constant_cpu_to_le16(L2CAP_CR_SUCCESS); |
4532 | rsp.status = cpu_to_le16(L2CAP_CS_NO_INFO); | 4532 | rsp.status = __constant_cpu_to_le16(L2CAP_CS_NO_INFO); |
4533 | } else { | 4533 | } else { |
4534 | /* Send negative response */ | 4534 | /* Send negative response */ |
4535 | rsp.result = cpu_to_le16(L2CAP_CR_NO_MEM); | 4535 | rsp.result = __constant_cpu_to_le16(L2CAP_CR_NO_MEM); |
4536 | rsp.status = cpu_to_le16(L2CAP_CS_NO_INFO); | 4536 | rsp.status = __constant_cpu_to_le16(L2CAP_CS_NO_INFO); |
4537 | } | 4537 | } |
4538 | 4538 | ||
4539 | l2cap_send_cmd(chan->conn, chan->ident, L2CAP_CREATE_CHAN_RSP, | 4539 | l2cap_send_cmd(chan->conn, chan->ident, L2CAP_CREATE_CHAN_RSP, |