summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 11:00:41 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-09-25 02:02:39 +0200
commite44666b98111e64efae974c3e91357d991dba0ca (patch)
tree99b4569829cbb3ecb43266a39f025ce099a00f68 /drivers/nfc
parentNFC: nfcwilink: Remove redundant dev_set_drvdata (diff)
downloadlinux-e44666b98111e64efae974c3e91357d991dba0ca.tar.xz
linux-e44666b98111e64efae974c3e91357d991dba0ca.zip
NFC: pn533: Staticize local symbols
Local symbols used only in this file are made static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn533.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index dbe962c47a56..75bffd8bb3eb 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -2905,12 +2905,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);
}