From: Axel Lin Date: Wed, 30 Nov 2011 10:18:06 +0000 (+0800) Subject: NFC: pn533: Staticise pn533_data_exchange() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85eb28a36215b3d872384e027403b14ff483d60b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: John W. Linville --- 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)