From: Samuel Ortiz Date: Tue, 10 Apr 2012 17:43:09 +0000 (+0200) Subject: NFC: The core part should generate the target index X-Git-Tag: v3.5-rc1~109^2~410^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4fbb6515a4dcec83d340247639b5644c4745528;p=pandora-kernel.git NFC: The core part should generate the target index The target index can be used by userspace to uniquely identify a target and thus should be kept unique, per NFC adapter. Moreover, some protocols do not provide a logical index when discovering new targets, so we have to generate one for them. For NCI or pn533 to fetch their logical index, we added a logical_idx field to the target structure. Signed-off-by: Samuel Ortiz Signed-off-by: John W. Linville --- Reading git-diff-tree failed