summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@linux.intel.com>2013-07-19 14:56:08 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-08-14 01:08:01 +0200
commitef04158e13e827315680cf8449d9af3bd8dc6280 (patch)
tree61488d05c828659edc85f03318dd6887c6cc551f
parentdfccd0f580445d176acea174175b3e6518cc91f7 (diff)
NFC: Move nfc_fw_download_done() definition from private to public
This API must be called by NFC drivers, and its prototype was incorrectly placed. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--include/net/nfc/nfc.h2
-rw-r--r--net/nfc/nfc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index 5f286b726bb..10059556058 100644
--- a/include/net/nfc/nfc.h
+++ b/include/net/nfc/nfc.h
@@ -224,6 +224,8 @@ int nfc_set_remote_general_bytes(struct nfc_dev *dev,
u8 *gt, u8 gt_len);
u8 *nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len);
+int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name);
+
int nfc_targets_found(struct nfc_dev *dev,
struct nfc_target *targets, int ntargets);
int nfc_target_lost(struct nfc_dev *dev, u32 target_idx);
diff --git a/net/nfc/nfc.h b/net/nfc/nfc.h
index 820a7850c36..4e2e5a787c4 100644
--- a/net/nfc/nfc.h
+++ b/net/nfc/nfc.h
@@ -126,8 +126,6 @@ static inline void nfc_device_iter_exit(struct class_dev_iter *iter)
int nfc_fw_download(struct nfc_dev *dev, const char *firmware_name);
int nfc_genl_fw_download_done(struct nfc_dev *dev, const char *firmware_name);
-int nfc_fw_download_done(struct nfc_dev *dev, const char *firmware_name);
-
int nfc_dev_up(struct nfc_dev *dev);
int nfc_dev_down(struct nfc_dev *dev);