@@ -287,16 +287,4 @@ struct sockaddr_nfc_llcp {
#define NFC_LLCP_REMOTE_LTO 3
#define NFC_LLCP_REMOTE_RW 4
-#ifndef N_NCI
-#define N_NCI 25
-#endif
-
-/* Ioctl */
-#define NCIUARTSETDRIVER _IOW('U', 0, char *)
-
-enum nci_uart_driver {
- NCI_UART_DRIVER_MARVELL = 0,
- NCI_UART_DRIVER_MAX
-};
-
#endif /*__LINUX_NFC_H */
@@ -50,6 +50,18 @@
#define ENABLE_PM 1
#define DISABLE_PM 0
+#ifndef N_NCI
+#define N_NCI 25
+#endif
+
+/* Ioctl */
+#define NCIUARTSETDRIVER _IOW('U', 0, char *)
+
+enum nci_uart_driver {
+ NCI_UART_DRIVER_MARVELL = 0,
+ NCI_UART_DRIVER_MAX
+};
+
struct nci_driver_info {
const char *name;
enum nci_uart_driver driver_id;
Some header file macros and an enum were copied from Linux and placed in neard's include/nfc_copy.h file. That isn't the proper place as nfc_copy.h is supposed to be a pristine copy of the Linux nfc.h file. Move those header file definitions into tools/nciattach.c since that is the only file that uses them. Signed-off-by: Mark Greer <mgreer@animalcreek.com> --- include/nfc_copy.h | 12 ------------ tools/nciattach.c | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-)