mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Cc: Lauro Ramos Venancio <[email protected]> Cc: Aloisio Almeida Jr <[email protected]> CC: Samuel Ortiz <[email protected]> CC: "David S. Miller" <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
040487f364
commit
502b424082
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue