[RFC PATCH] nfc: nfcmrvl: main: nfc_download can be static

kernel test robot posted 1 patch 4 years ago
net/nfc/core.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[RFC PATCH] nfc: nfcmrvl: main: nfc_download can be static
Posted by kernel test robot 4 years ago
net/nfc/core.c:28:6: warning: symbol 'nfc_download' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 net/nfc/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/nfc/core.c b/net/nfc/core.c
index da8199f67d42c..9035935e93d80 100644
--- a/net/nfc/core.c
+++ b/net/nfc/core.c
@@ -25,7 +25,7 @@
 #define NFC_CHECK_PRES_FREQ_MS	2000
 
 int nfc_devlist_generation;
-bool nfc_download;
+static bool nfc_download;
 DEFINE_MUTEX(nfc_devlist_mutex);
 
 /* NFC device ID bitmap */