summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-11-30 18:18:06 +0800
committerJohn W. Linville <linville@tuxdriver.com>2011-11-30 15:09:00 -0500
commit85eb28a36215b3d872384e027403b14ff483d60b (patch)
treec892d9321ac22c3e5d40af40e5832cfa57a56c80 /drivers/nfc
parentad9547c0413686a23e48793665a9ebd3e65c474c (diff)
downloadop-kernel-dev-85eb28a36215b3d872384e027403b14ff483d60b.zip
op-kernel-dev-85eb28a36215b3d872384e027403b14ff483d60b.tar.gz
NFC: pn533: Staticise pn533_data_exchange()
It is not used outside this driver so no need to make the symbol global. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/pn533.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index 7bcb1fe..dbf214e 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -1339,7 +1339,7 @@ error:
return 0;
}
-int pn533_data_exchange(struct nfc_dev *nfc_dev, u32 target_idx,
+static int pn533_data_exchange(struct nfc_dev *nfc_dev, u32 target_idx,
struct sk_buff *skb,
data_exchange_cb_t cb,
void *cb_context)
OpenPOWER on IntegriCloud