summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@linux.intel.com>2013-04-29 17:47:42 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-14 00:26:09 +0200
commit9a695d23aab889273821c91b4132f1ed315b251b (patch)
treeb9c2c8f3130e365821df7966d5d6fc4b27e75838 /include/net
parent9674da8759df0d6c0d24e1ede6e2a1acdef91e3c (diff)
NFC: HCI: Implement fw_upload ops
This is a simple forward to the HCI driver. When driver is done with the operation, it shall directly notify NFC Core by calling nfc_fw_upload_done(). Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/nfc/hci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/nfc/hci.h b/include/net/nfc/hci.h
index b87a1692b08..14faf2dc7a4 100644
--- a/include/net/nfc/hci.h
+++ b/include/net/nfc/hci.h
@@ -61,6 +61,7 @@ struct nfc_hci_ops {
struct sk_buff *skb);
int (*enable_se)(struct nfc_dev *dev, u32 secure_element);
int (*disable_se)(struct nfc_dev *dev, u32 secure_element);
+ int (*fw_upload)(struct nfc_hci_dev *hdev, const char *firmware_name);
};
/* Pipes */