summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-04-20 16:35:39 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-04-20 16:35:39 +0200
commit8d9b4eab000ac072f593296b010e4c7ec2cce9b3 (patch)
tree2bd29b2456f5f29d5efe13256884e1af2ad2e01d /include
parent618ef5e193a47a572636e1837a415ae2fff8b6bf (diff)
downloadneard-8d9b4eab000ac072f593296b010e4c7ec2cce9b3.tar.gz
neard-8d9b4eab000ac072f593296b010e4c7ec2cce9b3.tar.bz2
neard-8d9b4eab000ac072f593296b010e4c7ec2cce9b3.zip
tag: Change tag driver ops naming
read and write sounds more like what those drivers do.
Diffstat (limited to 'include')
-rw-r--r--include/tag.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tag.h b/include/tag.h
index 4b2e02c..4ec5b6a 100644
--- a/include/tag.h
+++ b/include/tag.h
@@ -63,9 +63,9 @@ struct near_tag_driver {
uint16_t type;
int priority;
- int (*read_tag)(uint32_t adapter_idx, uint32_t target_idx,
+ int (*read)(uint32_t adapter_idx, uint32_t target_idx,
near_tag_io_cb cb);
- int (*add_ndef)(uint32_t adapter_idx, uint32_t target_idx,
+ int (*write)(uint32_t adapter_idx, uint32_t target_idx,
struct near_ndef_message *ndef,
near_tag_io_cb cb);
int (*check_presence)(uint32_t adapter_idx, uint32_t target_idx,