diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-07 06:31:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-15 17:30:29 -0400 |
commit | 502b42408276431605ceaea5dc026a256acc310e (patch) | |
tree | 5ee5260c84b35142ffb01dc2236bcdb10a687f6a /net | |
parent | 040487f364e03fc4d9fcab5549618642cc3f6fe7 (diff) |
NFC: Include nci_core.h to nci/lib.c
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?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
CC: Samuel Ortiz <sameo@linux.intel.com>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/nfc/nci/lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/nfc/nci/lib.c b/net/nfc/nci/lib.c index 6a63e5eb483d..6b7fd26c68d9 100644 --- a/net/nfc/nci/lib.c +++ b/net/nfc/nci/lib.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/errno.h> | 31 | #include <linux/errno.h> |
32 | 32 | ||
33 | #include <net/nfc/nci.h> | 33 | #include <net/nfc/nci.h> |
34 | #include <net/nfc/nci_core.h> | ||
34 | 35 | ||
35 | /* NCI status codes to Unix errno mapping */ | 36 | /* NCI status codes to Unix errno mapping */ |
36 | int nci_to_errno(__u8 code) | 37 | int nci_to_errno(__u8 code) |