summaryrefslogtreecommitdiffstats
path: root/drivers/nfc
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-11-30 11:18:06 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-30 21:09:00 +0100
commit85eb28a36215b3d872384e027403b14ff483d60b (patch)
treec892d9321ac22c3e5d40af40e5832cfa57a56c80 /drivers/nfc
parentbrcm80211: fmac: small memory leak on error (diff)
downloadlinux-85eb28a36215b3d872384e027403b14ff483d60b.tar.xz
linux-85eb28a36215b3d872384e027403b14ff483d60b.zip
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 7bcb1febef0d..dbf214ef7321 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)