.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2011 Instituto Nokia de Tecnologia |
---|
3 | 4 | * |
---|
4 | 5 | * Authors: |
---|
5 | 6 | * Lauro Ramos Venancio <lauro.venancio@openbossa.org> |
---|
6 | 7 | * Aloisio Almeida Jr <aloisio.almeida@openbossa.org> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License as published by |
---|
10 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
11 | | - * (at your option) any later version. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, |
---|
14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | | - * GNU General Public License for more details. |
---|
17 | | - * |
---|
18 | | - * You should have received a copy of the GNU General Public License |
---|
19 | | - * along with this program; if not, see <http://www.gnu.org/licenses/>. |
---|
20 | 8 | */ |
---|
21 | 9 | |
---|
22 | 10 | #ifndef __LOCAL_NFC_H |
---|
.. | .. |
---|
60 | 48 | u8 comm_mode, u8 rf_mode); |
---|
61 | 49 | int nfc_llcp_register_device(struct nfc_dev *dev); |
---|
62 | 50 | void nfc_llcp_unregister_device(struct nfc_dev *dev); |
---|
63 | | -int nfc_llcp_set_remote_gb(struct nfc_dev *dev, u8 *gb, u8 gb_len); |
---|
| 51 | +int nfc_llcp_set_remote_gb(struct nfc_dev *dev, const u8 *gb, u8 gb_len); |
---|
64 | 52 | u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *general_bytes_len); |
---|
65 | 53 | int nfc_llcp_data_received(struct nfc_dev *dev, struct sk_buff *skb); |
---|
66 | 54 | struct nfc_llcp_local *nfc_llcp_find_local(struct nfc_dev *dev); |
---|
| 55 | +int nfc_llcp_local_put(struct nfc_llcp_local *local); |
---|
67 | 56 | int __init nfc_llcp_init(void); |
---|
68 | 57 | void nfc_llcp_exit(void); |
---|
69 | 58 | void nfc_llcp_free_sdp_tlv(struct nfc_llcp_sdp_tlv *sdp); |
---|