Return-path: Received: from mail127.messagelabs.com ([216.82.250.115]:40534 "EHLO mail127.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754557Ab2DZR4Q (ORCPT ); Thu, 26 Apr 2012 13:56:16 -0400 From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] NFC: nci/lib.c: include header for exported symbol prototype Date: Thu, 26 Apr 2012 10:56:00 -0700 CC: , , , , , MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-ID: <201204261056.01229.hartleys@visionengravers.com> (sfid-20120426_195639_252763_2EB02E08) Sender: linux-wireless-owner@vger.kernel.org List-ID: 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 Cc: Lauro Ramos Venancio Cc: Aloisio Almeida Jr CC: Samuel Ortiz CC: "David S. Miller" --- diff --git a/net/nfc/nci/lib.c b/net/nfc/nci/lib.c index 6a63e5e..6b7fd26 100644 --- a/net/nfc/nci/lib.c +++ b/net/nfc/nci/lib.c @@ -31,6 +31,7 @@ #include #include +#include /* NCI status codes to Unix errno mapping */ int nci_to_errno(__u8 code)