hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/nfc/nfc.h
....@@ -1,22 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2011 Instituto Nokia de Tecnologia
34 *
45 * Authors:
56 * Lauro Ramos Venancio <lauro.venancio@openbossa.org>
67 * 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/>.
208 */
219
2210 #ifndef __LOCAL_NFC_H
....@@ -60,10 +48,11 @@
6048 u8 comm_mode, u8 rf_mode);
6149 int nfc_llcp_register_device(struct nfc_dev *dev);
6250 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);
6452 u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *general_bytes_len);
6553 int nfc_llcp_data_received(struct nfc_dev *dev, struct sk_buff *skb);
6654 struct nfc_llcp_local *nfc_llcp_find_local(struct nfc_dev *dev);
55
+int nfc_llcp_local_put(struct nfc_llcp_local *local);
6756 int __init nfc_llcp_init(void);
6857 void nfc_llcp_exit(void);
6958 void nfc_llcp_free_sdp_tlv(struct nfc_llcp_sdp_tlv *sdp);