diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-04-10 06:51:52 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-06-04 15:34:29 -0400 |
commit | ab73b751303bc60d7d9fba875c958dedfe14754c (patch) | |
tree | cc13ed168408bd7faf619982e449253e96224302 /net | |
parent | 76762b73693aa7621ae8d3ea5c7efbf74beda0b9 (diff) |
NFC: Export LLCP general bytes getter
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/nfc/core.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/nfc/core.c b/net/nfc/core.c index 9f6ce011d35d..f5a43f701a9e 100644 --- a/net/nfc/core.c +++ b/net/nfc/core.c | |||
@@ -447,6 +447,14 @@ int nfc_set_remote_general_bytes(struct nfc_dev *dev, u8 *gb, u8 gb_len) | |||
447 | } | 447 | } |
448 | EXPORT_SYMBOL(nfc_set_remote_general_bytes); | 448 | EXPORT_SYMBOL(nfc_set_remote_general_bytes); |
449 | 449 | ||
450 | u8 *nfc_get_local_general_bytes(struct nfc_dev *dev, size_t *gb_len) | ||
451 | { | ||
452 | pr_debug("dev_name=%s\n", dev_name(&dev->dev)); | ||
453 | |||
454 | return nfc_llcp_general_bytes(dev, gb_len); | ||
455 | } | ||
456 | EXPORT_SYMBOL(nfc_get_local_general_bytes); | ||
457 | |||
450 | /** | 458 | /** |
451 | * nfc_alloc_send_skb - allocate a skb for data exchange responses | 459 | * nfc_alloc_send_skb - allocate a skb for data exchange responses |
452 | * | 460 | * |