Skip to contentSkip to conversation

NFC: nci/lib.c: include header for exported symbol prototype

PATCH New H Hartley Sweeten 1 participant 1 message Apr 26, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFC: nci/lib.c: include header for exported symbol prototype

Include the header to pickup the exported symbol prototype.

Quites the sparse warning:

warning: symbol 'nci_to_errno' was not declared. Should it be static?

Cc Lauro Ramos Venancio <[email protected]>
Cc Aloisio Almeida Jr <[email protected]>
CC Samuel Ortiz <[email protected]>
CC "David S. Miller" <[email protected]>

---

net/nfc/nci/lib.c +1 -0
index 6a63e5e..6b7fd26 100644
@@ -31,6 +31,7 @@
 #include <linux/errno.h>
 
 #include <net/nfc/nci.h>
+#include <net/nfc/nci_core.h>
 
 /* NCI status codes to Unix errno mapping */
 int nci_to_errno(__u8 code)