projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b7449c
)
NFC: pn533: Staticize local symbols
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 20 Sep 2013 09:00:41 +0000
(14:30 +0530)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 25 Sep 2013 00:02:39 +0000
(
02:02
+0200)
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>
drivers/nfc/pn533.c
patch
|
blob
|
history
diff --git
a/drivers/nfc/pn533.c
b/drivers/nfc/pn533.c
index dbe962c47a56f858ef19c513c45358f5d71393a1..75bffd8bb3eb5d4fae01a470b751adbd50f18a45 100644
(file)
--- 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);
}