From 8d9b4eab000ac072f593296b010e4c7ec2cce9b3 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Fri, 20 Apr 2012 16:35:39 +0200 Subject: tag: Change tag driver ops naming read and write sounds more like what those drivers do. --- include/tag.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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, -- cgit v1.2.3