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>
This commit is contained in:
Eric Lapuyade
2012-04-10 19:43:10 +02:00
committed by John W. Linville
parent c4fbb6515a
commit 01ae0eea9b
3 changed files with 4 additions and 4 deletions

View File

@@ -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;