summaryrefslogtreecommitdiffstats
path: root/include/net/nfc
diff options
context:
space:
mode:
authorEric Lapuyade <eric.lapuyade@intel.com>2012-04-10 19:43:10 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 21:10:37 +0200
commit01ae0eea9bed132a9c4a2c207dbf8e05b0051071 (patch)
tree7de07ede2d172edaa27bfae617b89b2068d36044 /include/net/nfc
parentNFC: The core part should generate the target index (diff)
downloadlinux-01ae0eea9bed132a9c4a2c207dbf8e05b0051071.tar.xz
linux-01ae0eea9bed132a9c4a2c207dbf8e05b0051071.zip
NFC: Fix next target_idx type and rename for clarity
Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/nfc')
-rw-r--r--include/net/nfc/nfc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/nfc/nfc.h b/include/net/nfc/nfc.h
index 45f05634315b..f4f6950a8b05 100644
--- a/include/net/nfc/nfc.h
+++ b/include/net/nfc/nfc.h
@@ -89,7 +89,7 @@ struct nfc_genl_data {
struct nfc_dev {
unsigned idx;
- unsigned target_idx;
+ u32 target_next_idx;
struct nfc_target *targets;
int n_targets;
int targets_generation;