NFC: Fix sparse warnings due to missing static
authorArron Wang <arron.wang@intel.com>
Mon, 8 Oct 2012 06:54:39 +0000 (14:54 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 26 Oct 2012 16:26:49 +0000 (18:26 +0200)
Signed-off-by: Arron Wang <arron.wang@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn544/pn544.c
net/nfc/hci/core.c

index cf344450815cf7c917dc94cf0412cee0bfbd6e0f..cc666de3b8e5a56b58ac984ff1f5ab890048c2e9 100644 (file)
@@ -714,8 +714,8 @@ static int pn544_hci_check_presence(struct nfc_hci_dev *hdev,
        return 0;
 }
 
-void pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 gate, u8 event,
-                               struct sk_buff *skb)
+static void pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 gate,
+                                       u8 event, struct sk_buff *skb)
 {
        struct sk_buff *rgb_skb = NULL;
        int r = 0;
index c2339c468d917dbd04b39e15cad86cd225ea85b0..4b720ff20ee977f9517e1080f316849d59ceb8c3 100644 (file)
@@ -650,7 +650,7 @@ static int hci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target,
        return r;
 }
 
-int hci_tm_send(struct nfc_dev *nfc_dev, struct sk_buff *skb)
+static int hci_tm_send(struct nfc_dev *nfc_dev, struct sk_buff *skb)
 {
        struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev);