NFC: pn533: Staticise pn533_data_exchange()
authorAxel Lin <axel.lin@gmail.com>
Wed, 30 Nov 2011 10:18:06 +0000 (18:18 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Nov 2011 20:09:00 +0000 (15:09 -0500)
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>
drivers/nfc/pn533.c

index 7bcb1fe..dbf214e 100644 (file)
@@ -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)