summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/pn544
diff options
context:
space:
mode:
authorArron Wang <arron.wang@intel.com>2012-10-08 14:54:39 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2012-10-26 18:26:49 +0200
commit984d334f28c6a93231fe9de3ec42717469e90d4c (patch)
tree6f04f58f2750bade14ab9559a9d8e345cb0c66ea /drivers/nfc/pn544
parent874934f4d492d0926a104c2a4bfbf7c1701e2fd2 (diff)
downloadblackbird-op-linux-984d334f28c6a93231fe9de3ec42717469e90d4c.tar.gz
blackbird-op-linux-984d334f28c6a93231fe9de3ec42717469e90d4c.zip
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>
Diffstat (limited to 'drivers/nfc/pn544')
-rw-r--r--drivers/nfc/pn544/pn544.c4
1 files changed, 2 insertions, 2 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,
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;
OpenPOWER on IntegriCloud