NFC: pn533: Staticize local symbols
PATCH 2/2 NFC: pn533: Staticize local symbols
These local symbols are used only in this file.
Fix the following sparse warnings:
drivers/nfc/pn533.c:2576:5: warning: symbol 'pn533_dev_up' was not declared. Should it be static? drivers/nfc/pn533.c:2581:5: warning: symbol 'pn533_dev_down' was not declared. Should it be static?
Signed-off-by Jingoo Han <[email protected]>
--- drivers/nfc/pn533.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/nfc/pn533.c +2 -2
@@ -2573,12 +2573,12 @@ static int pn533_rf_field(struct nfc_dev *nfc_dev, u8 rf)return rc; } -int pn533_dev_up (struct nfc_dev *nfc_dev) +static int pn533_dev_up (struct nfc_dev *nfc_dev) {return pn533_rf_field (nfc_dev,1 ); } -int pn533_dev_down (struct nfc_dev *nfc_dev) +static int pn533_dev_down (struct nfc_dev *nfc_dev) {return pn533_rf_field (nfc_dev,0 ); }
Signature · 1 line
1.7.10.4