diff options
author | Arron Wang <arron.wang@intel.com> | 2012-10-08 02:54:39 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-10-26 12:26:49 -0400 |
commit | 984d334f28c6a93231fe9de3ec42717469e90d4c (patch) | |
tree | 6f04f58f2750bade14ab9559a9d8e345cb0c66ea | |
parent | 874934f4d492d0926a104c2a4bfbf7c1701e2fd2 (diff) |
NFC: Fix sparse warnings due to missing static
Signed-off-by: Arron Wang <arron.wang@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r-- | drivers/nfc/pn544/pn544.c | 4 | ||||
-rw-r--r-- | net/nfc/hci/core.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/nfc/pn544/pn544.c b/drivers/nfc/pn544/pn544.c index cf344450815c..cc666de3b8e5 100644 --- a/drivers/nfc/pn544/pn544.c +++ b/drivers/nfc/pn544/pn544.c | |||
@@ -714,8 +714,8 @@ static int pn544_hci_check_presence(struct nfc_hci_dev *hdev, | |||
714 | return 0; | 714 | return 0; |
715 | } | 715 | } |
716 | 716 | ||
717 | void pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 gate, u8 event, | 717 | static void pn544_hci_event_received(struct nfc_hci_dev *hdev, u8 gate, |
718 | struct sk_buff *skb) | 718 | u8 event, struct sk_buff *skb) |
719 | { | 719 | { |
720 | struct sk_buff *rgb_skb = NULL; | 720 | struct sk_buff *rgb_skb = NULL; |
721 | int r = 0; | 721 | int r = 0; |
diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c index c2339c468d91..4b720ff20ee9 100644 --- a/net/nfc/hci/core.c +++ b/net/nfc/hci/core.c | |||
@@ -650,7 +650,7 @@ static int hci_transceive(struct nfc_dev *nfc_dev, struct nfc_target *target, | |||
650 | return r; | 650 | return r; |
651 | } | 651 | } |
652 | 652 | ||
653 | int hci_tm_send(struct nfc_dev *nfc_dev, struct sk_buff *skb) | 653 | static int hci_tm_send(struct nfc_dev *nfc_dev, struct sk_buff *skb) |
654 | { | 654 | { |
655 | struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); | 655 | struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); |
656 | 656 | ||