hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/nfc/s3fwrn5/firmware.h
....@@ -1,20 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * NCI based driver for Samsung S3FWRN5 NFC chip
34 *
45 * Copyright (C) 2015 Samsung Electrnoics
56 * Robert Baldyga <r.baldyga@samsung.com>
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms and conditions of the GNU General Public License,
9
- * version 2 or later, as published by the Free Software Foundation.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, see <http://www.gnu.org/licenses/>.
187 */
198
209 #ifndef __LOCAL_S3FWRN5_FIRMWARE_H_
....@@ -102,7 +91,7 @@
10291
10392 void s3fwrn5_fw_init(struct s3fwrn5_fw_info *fw_info, const char *fw_name);
10493 int s3fwrn5_fw_setup(struct s3fwrn5_fw_info *fw_info);
105
-bool s3fwrn5_fw_check_version(struct s3fwrn5_fw_info *fw_info, u32 version);
94
+bool s3fwrn5_fw_check_version(const struct s3fwrn5_fw_info *fw_info, u32 version);
10695 int s3fwrn5_fw_download(struct s3fwrn5_fw_info *fw_info);
10796 void s3fwrn5_fw_cleanup(struct s3fwrn5_fw_info *fw_info);
10897