History

nfc: st-nci: Rename st21nfcb to st-nci

STMicroelectronics NFC NCI chips family is extending with the new ST21NFCC using the AMS AS39230 RF booster. The st21nfcb driver is relevant for this solution and might be with future products.

Christophe Ricard committed 11 years ago

Commit ed06aee1 parent 2df7f8c18 files · +585 −553Browse files

Showing the changes to include/linux/platform_data (2 of 18 files). Show all

Unified · Split

2 files
  1. include/linux/platform_data/st-nci.h +7 −7
  2. include/linux/platform_data/st_nci.h +29 −0
include/linux/platform_data/st-nci.hrenamed from include/linux/platform_data/st21nfcb.h+7−7
@@ -1,7 +1,7 @@
11 /*
2− * Driver include for the ST21NFCB NFC chip.
2+ * Driver include for ST NCI NFC chip family.
33 *
4− * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved.
4+ * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved.
55 *
66 * This program is free software; you can redistribute it and/or modify it
77 * under the terms and conditions of the GNU General Public License,
@@ -16,14 +16,14 @@ · 8 unmodified lines
1616 * along with this program; if not, see <http://www.gnu.org/licenses/>.
1717 */
1818
19−#ifndef _ST21NFCB_NCI_H_
20−#define _ST21NFCB_NCI_H_
19+#ifndef _ST_NCI_H_
20+#define _ST_NCI_H_
2121
22−#define ST21NFCB_NCI_DRIVER_NAME "st21nfcb_nci"
22+#define ST_NCI_DRIVER_NAME "st_nci"
2323
24−struct st21nfcb_nfc_platform_data {
24+struct st_nci_nfc_platform_data {
2525 unsigned int gpio_reset;
2626 unsigned int irq_polarity;
2727 };
2828
29−#endif /* _ST21NFCB_NCI_H_ */
29+#endif /* _ST_NCI_H_ */
include/linux/platform_data/st_nci.h+29−0
@@ -0,0 +1,29 @@
1+/*
2+ * Driver include for ST NCI NFC chip family.
3+ *
4+ * Copyright (C) 2014-2015 STMicroelectronics SAS. All rights reserved.
5+ *
6+ * This program is free software; you can redistribute it and/or modify it
7+ * under the terms and conditions of the GNU General Public License,
8+ * version 2, as published by the Free Software Foundation.
9+ *
10+ * This program is distributed in the hope that it will be useful,
11+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+ * GNU General Public License for more details.
14+ *
15+ * You should have received a copy of the GNU General Public License
16+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
17+ */
18+
19+#ifndef _ST_NCI_H_
20+#define _ST_NCI_H_
21+
22+#define ST_NCI_DRIVER_NAME "st_nci"
23+
24+struct st_nci_nfc_platform_data {
25+ unsigned int gpio_reset;
26+ unsigned int irq_polarity;
27+};
28+
29+#endif /* _ST_NCI_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t