commit "nfc: st-nci: Rename st21nfcb to st-nci" adds include/linux/platform_data/st_nci.h duplicated with include/linux/platform_data/st-nci.h. Only drivers/nfc/st-nci/i2c.c uses platform_data/st_nci.h.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -1,29 +0,0 @@ | ||
| 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_ */ | |