Commit 502b4240 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by John W. Linville
Browse files

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: default avatarH Hartley Sweeten <>
Cc: Lauro Ramos Venancio <>
Cc: Aloisio Almeida Jr <>
CC: Samuel Ortiz <>
CC: "David S. Miller" <>
Signed-off-by: default avatarSamuel Ortiz <>
Signed-off-by: default avatarJohn W. Linville <>
parent 040487f3
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment