Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 984d334f authored by Arron Wang's avatar Arron Wang Committed by Samuel Ortiz
Browse files

NFC: Fix sparse warnings due to missing static

parent 874934f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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);