From: Christophe Ricard Date: Wed, 12 Nov 2014 23:30:32 +0000 (+0100) Subject: NFC: nci: Fix sparse: symbol 'nci_get_prop_rf_protocol' was not declared. X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~28^2~16^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7dea2525b0a2c10423ddabea7c0ccc635380ba7;p=pandora-kernel.git NFC: nci: Fix sparse: symbol 'nci_get_prop_rf_protocol' was not declared. Fix sparse warning introduced by commit: 9e87f9a9c4c4754508b2c2638fbde9e10c7a103b It was generating the following warning: net/nfc/nci/ntf.c:170:7: sparse: symbol 'nci_get_prop_rf_protocol' was not declared. Should it be static? Procedure to reproduce it: # apt-get install sparse git checkout 9e87f9a9c4c4754508b2c2638fbde9e10c7a103b make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ Signed-off-by: Fengguang Wu Signed-off-by: Christophe Ricard Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed